Create simple free algebra objects including linear expressions, for example
> linear(1:3) free algebra element algebraically equal to + 1*a + 2*b + 3*c > linear(1:3,power=5) free algebra element algebraically equal to + 1*aaaaa + 2*bbbbb + 3*ccccc >
Numeric vector of terms
Integer vector of powers
Many of the functions documented at
mvp::special.Rd do not make
sense in the context of the free algebra. Function
mvp::product(), for example, imposes an order on the expansion.
constant() is documented at
constant.Rd, but is listed
below for convenience.
Robin K. S. Hankin
linear(1:3) linear(1:3,power=5) linear(1:3,power=3:1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.