freealg (version 1.0-0)

accessor: Accessor methods for freealg objects

Description

Accessor methods for free algebra objects

Usage

words(x)
coeffs(x)
coeffs(x) <- value

Arguments

x

Object of class freealg

value

Numeric vector of length 1

Details

Access or set the different parts of an freealg object. The constant term is technically a coefficient but is documented under constant.Rd.

See Also

constant

Examples

Run this code
# NOT RUN {
a <- rfalg()

coeffs(a)
coeffs(a) <- 7
# }

Run the code above in your browser using DataCamp Workspace