mpolyArithmetic | R Documentation |
Arithmetic with multivariate polynomials
## S3 method for class 'mpoly'
e1 + e2
## S3 method for class 'mpoly'
e1 - e2
## S3 method for class 'mpoly'
e1 * e2
## S3 method for class 'mpoly'
e1 ^ e2
## S3 method for class 'mpolyList'
e1 ^ e2
e1 |
an object of class mpoly |
e2 |
an object of class mpoly |
object of class mpoly
p <- mp("x + y")
p + p
p - p
p * p
p^2
p^10
mp("(x+1)^10")
p + 1
2*p
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.