multipol (version 1.0-7)

is.constant: Is a multivariate polynomial constant or zero?

Description

Is a multivariate polynomial constant or zero?

Usage

is.constant(a, allow.untrimmed = TRUE)
is.zero(a, allow.untrimmed = TRUE)

Arguments

a

A multipol

allow.untrimmed

Boolean with default TRUE meaning to allow a multipol to be zero/constant even if one or more array extents exceed 2

See Also

constant

Examples

# NOT RUN {
is.zero(linear(c(1,1i))*linear(c(1,-1i)) - ones(2,2))  # factorize x^2+y^2
# }