Skip to contents

Print methods for mvp objects: to print, an mvp object is coerced to mpoly form and the mpoly print method used.

Usage

# S3 method for class 'mvp'
print(x, ...)

Arguments

x

Object of class mvp, coerced to mpoly form

...

Further arguments

Value

Returns its argument invisibly

Author

Robin K. S. Hankin

Examples


a <- rmvp(4)
a
#> mvp object algebraically equal to
#> a c + 4 b f + 2 c^2 d^3 + f
print(a)
#> mvp object algebraically equal to
#> a c + 4 b f + 2 c^2 d^3 + f
print(a,stars=TRUE)
#> mvp object algebraically equal to
#> a * c + 4 * b * f + 2 * c**2 * d**3 + f
print(a,varorder=rev(letters))
#> mvp object algebraically equal to
#> 4 f b + f + 2 d^3 c^2 + c a