Create and test for the identity element
Arguments
- x
Object of class free
- n
Strictly positive integer
Details
Function id()
returns a vector of n
free objects, all of
which are the identity element. Do not ask what happens if \(n=0\).
Function is.id()
returns a Boolean indicating whether an element
is the identity or not. The identity can also be generated using
as.free(0)
.
Author
Robin K. S. Hankin