# homog

0th

Percentile

##### Various functions to create simple spray objects

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

Keywords
symbolmath
##### Usage
product(power)
homog(d,power=1)
linear(x,power=1)
lone(n,d=n)
one(d)
xyz(d)
##### Arguments
d

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

power

Integer vector of powers

x

Numeric vector of coefficients

n

In function lone(), the term to raise to power 1

##### Value

All functions documented here return a spray object

##### Note

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

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

constant, zero

• homog
• product
• homog
• linear
• lone
• one
• xyz
##### Examples
# NOT RUN {
product(1:3)                   #      x * y^2 * z^3
homog(3)                       #      x + y + z
homog(3,2)                     #      x^2  + xy + xz + y^2 + yz + z^2
linear(1:3)                    #      1*x + 2*y + 3*z
linear(1:3,2)                  #      1*x^2 + 2*y^2 + 3*z^2
lone(3)                        #      z
lone(2,3)                      #      y
one(3)                         #      1
zero(3)                        #      0
xyz(3)                         #      xyz
# }

Documentation reproduced from package spray, version 1.0-8, License: GPL (>= 2)

### Community examples

Looks like there are no examples yet.