involvedVariables function

Variables involved in a 'qspray' polynomial

Variables involved in a 'qspray' polynomial

Variables involved in a qspray object. methods

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

Arguments

  • x: a qspray object

Returns

A vector of integers. Each integer represents the index of a variable involved in x.

Examples

x <- qlone(1); z <- qlone(3) involvedVariables(x^2 + x*z + 1) # should be c(1L, 3L)
  • Maintainer: Stéphane Laurent
  • License: GPL-3
  • Last published: 2024-07-27