numberOfVariables function

Number of variables in a 'qspray' polynomial

Number of variables in a 'qspray' polynomial

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.

See Also

involvedVariables.

  • Maintainer: Stéphane Laurent
  • License: GPL-3
  • Last published: 2024-07-27