allvars: All variables in a multivariate polynomial

Description Usage Arguments Note Author(s) Examples

Description

Returns a character vector containing all the variables present in a mvp object.

1
2
3
4
5
6
> (p <- rmvp(3))
mvp object algebraically equal to
3 a^5 c^4 d^2 f^5  +  2 b^4 c^3 d^7 e^5 f^5  +  b^9 c^8 f^5
> allvars(p)
[1] "a" "b" "c" "d" "e" "f"
> 

Usage

1

Arguments

x

object of class mvp

Note

The character vector returned is not in any particular order

Author(s)

Robin K. S. Hankin

Examples

1
2
p <- rmvp(5)
allvars(p)

mvp documentation built on Jan. 13, 2022, 1:07 a.m.