Print methods for free algebra objects
## S3 method for class 'freealg' print(x,...)
Object of class
Further arguments, currently ignored
The print method does not change the internal representation of a
freealg object, which is a two-element list, the first of which
is a list of integer vectors representing words, and the second is a
numeric vector of coefficients.
The print method has special dispensation for length-zero freealg objects but these are not handled entirely consistently.
The print method is sensitive to the value of
getOption("usecaret"), defaulting to “no”. The default is
to use uppercase letters to represent multiplicative inverses, but if
TRUE, inverses are indicated using “
becomes cumbersome for powers above the first. For example, the default
notation for aba^-2 is
abAA but becomes
SHRT_MAX are reserved for infinitesimals,
which are printed as “
da”; see the note at
Robin K. S. Hankin
rfalg() x <- rfalg(inc=TRUE) x # default options("usecaret" = TRUE) # use caret x options("usecaret" = FALSE) # back to the default x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.