Accessor methods for free algebra objects
words(x) coeffs(x) coeffs(x) <- value
Object of class
Numeric vector of length 1
Access or set the different parts of an
freealg object. The
constant term is technically a coefficient but is documented under
There is an extended discussion of this issue in the
Robin K. S. Hankin
a <- rfalg() a coeffs(a) words(a) # Note hash is identical to that of coeffs(a) coeffs(a) <- 7 # replacement methods work a coeffs(a) #
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.