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
#> 1 + a b c + 3 a^2 b^2 + 4 a^2 c
print(a)
#> mvp object algebraically equal to
#> 1 + a b c + 3 a^2 b^2 + 4 a^2 c
print(a,stars=TRUE)
#> mvp object algebraically equal to
#> 1 + a * b * c + 3 * a**2 * b**2 + 4 * a**2 * c
print(a,varorder=rev(letters))
#> mvp object algebraically equal to
#> c b a + 4 c a^2 + 3 b^2 a^2 + 1