p <- mp("x y + y z + z^2")
deriv(p, "x")
deriv(p, "y")
deriv(p, "z")
deriv(p, "t")
deriv(p, c("x","y","z"))
is.mpoly(deriv(p, "x"))
is.mpolyList( deriv(p, c("x","y","z")) )
p <- mp("x^5")
deriv(p, "x")
deriv(p, "x", bring_power_down = FALSE)
Run the code above in your browser using DataLab