The constant term
constant.Rd
Get and set the constant term of an mvp
object
Details
The constant term in a polynomial is the coefficient of the empty term.
In an mvp
object, the map {} -> c
, implies that c
is
the constant.
If x
is an mvp
object, constant(x)
returns the value of
the constant in the multivariate polynomial; if x
is numeric,
it returns a constant multivariate polynomial with value x
.
Function is.constant()
returns TRUE
if its argument has
no variables and FALSE
otherwise.