MVPoly is a Perl module that contains language commands.
MVPoly is an implementation of a simple mult-variate symbolic math package oriented towards polynomial and monomial operations.
Provided with the MVPoly library is a simple interpreter interfacing to the library. Although the language is simple, it still provides a great deal of functionality. The commands available are as follows:
Next to each variable sensitive command is the symbol [X], where X is the number of variables the command is valid for. For single variable commands, X=1, and for an arbitrary number of variablees, X=N.
Two commands, monOrder and varOrder MUST always preceed any polynomial declarations or operations simply because the define the 'environment' in which the polynomials and monomials live.
Fix a monomial ordering. Any existing polynomials will be converted to the new ordering and any new polynomials will use this ordering. The available orderings are:
tdeg Total Degree (single variable case only)
lex Lexicographic ordering
grlex Graded Lexicographic ordering.
grevlex Graded Reverse Lexicographic ordering.
For a detailed description of these orderings, refer to REFERENCES.
IMPORTANT: A monomial ordering MUST fixed before any polynomials are created. This way, each polynomial knows how to construct itself given the existing variables and variable ordering.