The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Ideal - A simple (subset) of an algebraic Ideal.

DESCRIPTION

new

creates a new Ideal instance with no polynomials.

copy OBJREF

performs a deep copy of object reference passed in.

polynomials
polynomials LIST

access/modify polynomial list in object. If there is any input, it is taken as the new value of polynomials. The value of polynomials is returned to the caller.

appendPolynomial OBJREF

takes as input a reference to polynomial to append to list; a copy of it is made and then appended.

toString

generates a string representing the list of polynomials and returns this string to the caller.

set LIST

list of polynomials to set the ideal to. destroys current polynomial list and copies the new list.

getSize

returns the number of polynomials in the ideal generator.

getPolynomial

returns the ith polynomial from the list.

getGBasis

generates a groebner basis using Buchberger's simplest algorithm.

AUTHOR

Brian Guarraci <bguarrac@hotmail.com>