involvedVariables {qspray}R Documentation

Variables involved in a 'qspray' polynomial

Description

Variables involved in a qspray object.

Usage

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

Arguments

x

a qspray object

Value

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)

[Package qspray version 3.1.0 Index]