eq_mp: Convert an equation to a polynomial

eq_mpR Documentation

Convert an equation to a polynomial

Description

Convert characters of the form "p1 = p2" (or similar) to an mpoly object representing p1 - p2.

Usage

eq_mp(string, ...)

Arguments

string

a character string containing a polynomial, see examples

...

arguments to pass to mpoly()

Value

An object of class mpoly or mpolyList.

Author(s)

David Kahle david@kahle.io

See Also

mpoly()

Examples


eq_mp(c("y = x", "y ==  (x + 2)"))




dkahle/mpoly documentation built on Nov. 21, 2024, 8:27 a.m.