numberOfVariables: Number of variables in a 'qspray' polynomial

numberOfVariablesR Documentation

Number of variables in a 'qspray' polynomial

Description

Number of variables involved in a qspray object (see the note for the precise meaning).

Usage

## S4 method for signature 'qspray'
numberOfVariables(x)

Arguments

x

a qspray object

Value

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.

See Also

involvedVariables.


qspray documentation built on Sept. 11, 2024, 5:33 p.m.