This is the major function used to view multivariate polynomials.
# S3 method for mpoly print(x, varorder, order, stars = FALSE, silent = FALSE, ..., plus_pad = 2L, times_pad = 1L)
x | an object of class mpoly |
---|---|
varorder | the order of the variables |
order | a total order used to order the monomials in the printing |
stars | print the multivariate polynomial in the more computer-friendly asterisk notation (default FALSE) |
silent | logical; if TRUE, suppresses output |
... | additional parameters to go to |
plus_pad | number of spaces to the left and right of plus sign |
times_pad | number of spaces to the left and right of times sign |
Invisible string of the printed object.
mp("-x^5 - 3 y^2 + x y^3 - 1")#> -1 x^5 - 3 y^2 + x y^3 - 1#> 2 x^5 - 3 y^2 + x y^3#> 2 x^5 - 3 y^2 + x y^3#> [1] "2 x^5 - 3 y^2 + x y^3"#>#> 2 x^5 + x y^3 - 3 y^2#> y^3 x - 3 y^2 + 2 x^5#> y^3 x - 3 y^2 + 2 x^5#> 2 * x**5 - 3 * y**2 + x * y**3#> 2*x**5 - 3*y**2 + x*y**3#> 2*x**5 - 3*y**2 + x*y**3#> 2*x**5-3*y**2+x*y**3#> 2 x^5 - 3 y^2 + x y^3