involvedVariables {symbolicQspray} | R Documentation |
Variables involved in a 'symbolicQspray' polynomial
Description
Variables involved in a symbolicQspray
object.
Usage
## S4 method for signature 'symbolicQspray'
involvedVariables(x)
Arguments
x |
a |
Value
A vector of integers. Each integer represents the index of a
variable involved in x
.
See Also
Examples
a1 <- qlone(1); a2 <- qlone(2)
X <- Qlone(1); Z <- Qlone(3)
Qspray <- (a1/a2)*X^2 + (a1/(a1+a2))*X*Z + a2^2/a1
involvedVariables(Qspray) # should be c(1L, 3L)
[Package symbolicQspray version 1.1.0 Index]