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

mpolyListArithmeticR 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


dkahle/mpoly documentation built on July 27, 2023, 11:44 p.m.