Determine whether two multivariate polynomials are equal.
# S3 method for mpoly ==(e1, e2) # S3 method for mpoly !=(e1, e2)
e1 | an object of class mpoly |
---|---|
e2 | an object of class mpoly |
A logical value.
#> [1] TRUE#> [1] TRUE#> [1] TRUEp1 == ( 2 * p2 )#> [1] FALSE#> [1] TRUEp1 == p2#> [1] TRUE#> [1] FALSE#> [1] FALSE#> [1] TRUE#> [1] TRUE