summary: Summary methods for mvp objects
Description
Summary methods for mvp objects and extraction of typical terms
Usage
# S3 method for mvp
summary(object, ...)
# S3 method for summary.mvp
print(x, ...)
rtypical(object,n=3)
Arguments
x,object
Multivariate polynomial, class mvp
n
In rtypical()
, number of terms (in addition to the
constant) to select
...
Further arguments, currently ignored
Details
The summary method prints out a list of interesting facts about an
mvp
object such as the longest term or highest power. Function
rtypical()
extracts the constant if present, and a random
selection of terms of its argument.
Examples
Run this code# NOT RUN {
summary(rmvp(40))
rtypical(rmvp(1000))
# }
Run the code above in your browser using DataLab