algstat (version 0.0.2)

is.linear: Test whether an mpoly object is linear.

Description

Test whether an mpoly object is linear.

Usage

is.linear(x)

Arguments

x
an mpoly or mpolyList object

Value

a logical vector

Examples

Run this code
## Not run: 
# 
# is.linear(mp("0"))
# is.linear(mp("x + 1"))
# is.linear(mp("x + y"))
# is.linear(mp(c("0", "x + y")))
# 
# is.linear(mp("x + x y"))
# is.linear(mp(c("x + x y", "x")))
# 
# 
# ## End(Not run)

Run the code above in your browser using DataLab