terms.mpoly {mpoly}R Documentation

Extract the terms of a multivariate polynomial.

Description

Compute the terms of an mpoly object as a mpolyList.

Usage

## S3 method for class 'mpoly'
terms(x, ...)

Arguments

x

an object of class mpoly

...

additional parameters

Value

An object of class mpolyList.

Examples


## Not run:  .Deprecated issues a warning

x <- mp("x^2 - y + x y z")
terms(x)
monomials(x)


## End(Not run)


[Package mpoly version 1.1.1 Index]