mpolyArithmetic: Arithmetic with multivariate polynomials

Description Usage Arguments Value Examples

Description

Arithmetic with multivariate polynomials

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## 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

Arguments

e1

an object of class mpoly

e2

an object of class mpoly

Value

object of class mpoly

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
p <- mp("x + y")
p + p
p - p
p * p
p^2
p^10


mp("(x+1)^10")
p + 1
2*p

mpoly documentation built on March 26, 2020, 7:33 p.m.