| composeQspray {qspray} | R Documentation |
Compose 'qspray' polynomials
Description
Substitutes the variables of a qspray polynomial with
some qspray polynomials. E.g. you have a polynomial P(x, y)
and you want the polynomial P(x^2, x+y+1) (see example).
Usage
composeQspray(qspray, listOfQsprays)
Arguments
qspray |
a |
listOfQsprays |
a list containing at least |
Value
The qspray polynomial obtained by composing the polynomial
given in the qspray argument with the polynomials given in the
listOfQsprays argument.
Examples
library(qspray)
x <- qlone(1)
y <- qlone(2)
P <- x*y/2 + 4*y
X <- x^2
Y <- x + y + 1
composeQspray(P, list(X, Y)) # this is P(x^2, x+y+1)
[Package qspray version 3.1.0 Index]