isUnivariate function

Whether a 'qspray' is univariate

Whether a 'qspray' is univariate

Checks whether a qspray object defines a univariate polynomial. methods

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

Arguments

  • x: a qspray object

Returns

A Boolean value.

Note

It is considered that a constant qspray is univariate, and that the qspray object y^2+1 where y=qlone(2) is not univariate, although only one variable is present (see the note in the documentation of numberOfVariables).

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