Number of variables involved in a qspray object (see the note for the precise meaning).
methods
## S4 method for signature 'qspray'numberOfVariables(x)
Arguments
x: a qspray object
Returns
An integer.
Note
The number of variables in the qspray object y^2+1 where y=qlone(2) is 2, not 1, although only one variable is present. Strictly speaking, the function returns the maximal integer d such that the variable qlone(d) occurs in the polynomial.