mpoly (version 1.1.1)

mpolyListArithmetic: Element-wise arithmetic with vectors of multivariate polynomials.

Description

Element-wise arithmetic with vectors of multivariate polynomials.

Usage

# S3 method for mpolyList
+(e1, e2)

# S3 method for mpolyList -(e1, e2)

# S3 method for mpolyList *(e1, e2)

Arguments

e1

an object of class mpolyList

e2

an object of class mpolyList

Value

An object of class mpolyList.

Examples

Run this code
# NOT RUN {
( ms1 <- mp( c("x", 'y') ) )
( ms2 <- mp( c("y", '2 x^2') ) )
ms1 + ms2
ms1 - ms2
ms1 * ms2
ms1^3

# }

Run the code above in your browser using DataLab