Learn R Programming

freealg (version 1.1-8)

print: Print freealg objects

Description

Print methods for free algebra objects. The indeterminates are represented using lowercase letters a-z (currently hard coded).

Usage

# S3 method for freealg
print(x,...)

Arguments

x

Object of class freealg in the print method

...

Further arguments, currently ignored

Author

Robin K. S. Hankin

See Also

freealg,deriv

Examples

Run this code

rfalg()

x <- rfalg(inc=TRUE)
x                           # default
options("usecaret" = TRUE)  # use caret
x
options("usecaret" = FALSE) # back to the default
x


x <- freealg(list(5,1:4,3,8,7),c(1,1,1,3,22))
x


options(mulsym = "*")
x
options(mulsym = NULL)  # restore default

Run the code above in your browser using DataLab