substituteQspray {qspray} | R Documentation |
Substitutions in a 'qspray' polynomial
Description
Substitute some variables in a qspray
polynomial.
Usage
substituteQspray(qspray, values)
Arguments
qspray |
a |
values |
the values to be substituted; this must be a vector whose
length equals the number of variables of |
Value
A qspray
object.
Examples
library(qspray)
x <- qlone(1)
y <- qlone(2)
z <- qlone(3)
p <- x^2 + y^2 + x*y*z - 1
substituteQspray(p, c("2", NA, "3/2"))
[Package qspray version 3.1.0 Index]