
iszero - tests if value is zero

Calling sequence:

iszero(poly)
iszero(expr)

Parameter:
poly   --  polynomial
expr   --  expression

Overloading:

1

Summary:

If the argument is a polynomial, iszero returns TRUE, if poly is the zero
polynomial. The result is only valid if the coefficients of the polynomial are
in normal form (i.e. if zero has a unique representation in the coefficient ring).

If the argument is not a polynomial then iszero returns TRUE if the argument
is the integer 0 or the floating point number 0.0.

iszero is a kernel function.

>>  p := poly(x^2+y, [x]): iszero(p);

      FALSE

>>  iszero(poly(0,[x,y]));

      TRUE

