rmvp: Random multivariate polynomials

Description Usage Arguments Details Value Author(s) Examples

Description

Random multivariate polynomials, intended as quick “get you going” examples of mvp objects

Usage

1
rmvp(n, size = 6, pow = 6, symbols = 6)

Arguments

n

Number of terms to generate

size

Maximum number of symbols in each term

pow

Maximum power of each symbol

symbols

Symbols to use; if numeric, interpret as the first symbols letters of the alphabet

Details

What you see is what you get, basically. A term such as a^2*b*a^3 will be simplified to a^5*b, so powers in the result may be larger than argument pow.

Value

Returns a multivariate polynomial, an object of class mvp

Author(s)

Robin K. S. Hankin

Examples

1
2

mvp documentation built on Sept. 5, 2019, 9:03 a.m.