deriv.mpoly | R Documentation |
This is a deriv method for mpoly objects. It does not call the
stats::deriv()
.
## S3 method for class 'mpoly'
deriv(expr, var, ..., bring_power_down = TRUE)
expr |
an object of class mpoly |
var |
character - the partial derivative desired |
... |
any additional arguments |
bring_power_down |
if |
An object of class mpoly or mpolyList.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.