Parser - a simple algebraic command parser
Return a reference to a new Parser object.
If input is passed, then assign this input as the new value of variables. Return the current value of variables to teh caller.
If input is passed, then assign this input as the new value to the current status. Return the current status to the caller.
Returns a boolean indicating whether or not the current status is 'valid.'
Converts the current status value into its string representation and returns it.
Return a string representing the internal state of the parser.
Set the variable NAME to VALUE.
Return the value of variable NAME to the caller.
Return a boolean indicating the existence of variable NAME.
Return a string representing the constant referred to by INFO.
Return a string representing the variable referred to by INFO.
Return a string representing the results of the command referred to by INFO.
Based on the block info, generate a string containing a printable value.
Calculate the Groebner Basis of p1,...,p2.
Calculate the S-Poly of p1 and p2.
Calculate the monomial Least Common Multiple of p1 and p2.
Attempt to reduce a polyomial to a simpler form.
Determine the Greatest Common Divisor of p1 and p2, where p1 and p2 are single variabel polynomials.
Perform polynomial multiplication.
Determine the quotient of p1 / p2, where p1 and p2 are single variable polynomials.
Determine the remainder of a p1 / p2.
Calculate the normal form of p1 / (p2,...,pn).
Perform polynomial division.
Perform polynomial subtraction.
Perform polynomial addition.
Determine and execute a function as indicated by the block info.
Modify the monomial ordering.
Return a boolean indicating the existence of a monomial ordering.
Modify the variable ordering.
Return a boolean indicating the existence of a variable ordering.
Toggle the verbose state of the interpreter and and polynomials contained within.
Generate a string representing the state of the variables in the interpreter.
See value() in Language Commands.
Determine and assign a value to a variable.
Query a string to determine its nature relative to the parsing scheme and return the info.
Retrieve the contents of VARNAME and convert the value into a string.
Parse the string as a command.
Isolate each command in STRING by parsing on ';', and then iterate through the list and call parseLine for each.
Operates almost identically to parseCmdString except that the resulting string is parsed, replacing each EOL with an HTML EOL.
Read a file and pass it to parseCmdString.
Brian Guarraci <bguarrac@hotmail.com>
To install Math::MVPoly, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Math::MVPoly
CPAN shell
perl -MCPAN -e shell install Math::MVPoly
For more information on module installation, please visit the detailed CPAN module installation guide.