special: Various functions to create simple multivariate polynomials

Description Usage Arguments Value Note Author(s) See Also Examples

Description

Various functions to create simple mvp objects such as single-term, homogenous, and constant multivariate polynomials.

Usage

1
2
3
4
5

Arguments

d,n

An integer; generally, the dimension or arity of the resulting mvp object

v,power

Integer vector of powers

x

Numeric vector of coefficients

symbols

Character vector for the symbols

Value

All functions documented here return a mvp object

Note

The functions here are related to their equivalents in the multipol and spray packages, but are not exactly the same.

Function constant() is documented at constant.Rd, but is listed below for convenience.

Author(s)

Robin K. S. Hankin

See Also

constant, zero

Examples

1
2
3
4
5
6
product(1:3)        #      a * b^2 * c^3
homog(3)            #      a + b + c
homog(3,2)          #      a^2  + a b + a c + b^2 + b c + c^2
linear(1:3)         #      1*a + 2*b + 3*c
constant(5)         #      5
xyz(5)              #      a*b*c*d*e

mvp documentation built on Sept. 5, 2019, 9:03 a.m.