zero {freealg} | R Documentation |
The zero algebraic object
Description
Test for a freealg
object's being zero
Usage
is.zero(x)
Arguments
x |
Object of class |
Details
Function is.zero()
returns TRUE
if x
is indeed
the zero free algebra object. It is defined as
length(coeffs(x))==0
for reasons of efficiency, but
conceptually it returns x==constant(0)
.
(Use constant(0)
to create the zero object).
Author(s)
Robin K. S. Hankin
See Also
Examples
stopifnot(is.zero(constant(0)))
[Package freealg version 1.1-1 Index]