Variables involved in a 'qspray' polynomial
Variables involved in a qspray
object.
methods
## S4 method for signature 'qspray' involvedVariables(x)
x
: a qspray
objectA vector of integers. Each integer represents the index of a variable involved in x
.
x <- qlone(1); z <- qlone(3) involvedVariables(x^2 + x*z + 1) # should be c(1L, 3L)