powered by
This is a deriv method for mpoly objects. It does not call the stats::deriv().
stats::deriv()
# S3 method for mpoly deriv(expr, var, ...)
an object of class mpoly
character - the partial derivative desired
any additional arguments
An object of class mpoly or mpolyList.
# NOT RUN { m <- mp("x y + y z + z^2") deriv(m, "x") deriv(m, "y") deriv(m, "z") deriv(m, c("x","y","z")) deriv(m, "a") is.mpoly(deriv(m, "x")) is.mpolyList( deriv(m, c("x","y","z")) ) # }
Run the code above in your browser using DataLab