mpolyListArithmetic {mpoly} | R Documentation |
Element-wise arithmetic with vectors of multivariate polynomials.
Description
Element-wise arithmetic with vectors of multivariate polynomials.
Usage
## S3 method for class 'mpolyList'
e1 + e2
## S3 method for class 'mpolyList'
e1 - e2
## S3 method for class 'mpolyList'
e1 * e2
Arguments
e1 |
an object of class mpolyList |
e2 |
an object of class mpolyList |
Value
An object of class mpolyList.
Examples
( ms1 <- mp( c("x", 'y') ) )
( ms2 <- mp( c("y", '2 x^2') ) )
ms1 + ms2
ms1 - ms2
ms1 * ms2
ms1^3
[Package mpoly version 1.1.1 Index]