Package edu.jas.poly
Class OrderedModuleList<C extends RingElem<C>>
java.lang.Object
edu.jas.poly.ModuleList<C>
edu.jas.poly.OrderedModuleList<C>
- All Implemented Interfaces:
Serializable
Ordered list of vectors of polynomials. Mainly for storage and printing /
toString and conversions to other representations. Lists of polynomials in
this list are sorted according to the head terms of the first column.
- See Also:
-
Field Summary
Fields inherited from class edu.jas.poly.ModuleList
cols, list, ring, rows
-
Constructor Summary
ConstructorsConstructorDescriptionOrderedModuleList
(GenPolynomialRing<C> r, List<List<GenPolynomial<C>>> l) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Comparison with any other object.int
hashCode()
Hash code for OrderedModuleList.static <C extends RingElem<C>>
List<List<GenPolynomial<C>>> sort
(GenPolynomialRing<C> r, List<List<GenPolynomial<C>>> l) Sort a list of vectors of polynomials with respect to the ascending order of the leading Exponent vectors of the first column.Methods inherited from class edu.jas.poly.ModuleList
castToList, castToSolvableList, getPolynomialList, getPolynomialList, getPolynomialList, isEmpty, isZERO, padCols, toScript, toString, vecToList
-
Constructor Details
-
OrderedModuleList
Constructor.- Parameters:
r
- polynomial ring factory.l
- list of list of polynomials.
-
-
Method Details
-
equals
Comparison with any other object.- Overrides:
equals
in classModuleList<C extends RingElem<C>>
- See Also:
-
hashCode
public int hashCode()Hash code for OrderedModuleList.- Overrides:
hashCode
in classModuleList<C extends RingElem<C>>
- See Also:
-
sort
public static <C extends RingElem<C>> List<List<GenPolynomial<C>>> sort(GenPolynomialRing<C> r, List<List<GenPolynomial<C>>> l) Sort a list of vectors of polynomials with respect to the ascending order of the leading Exponent vectors of the first column. The term order is taken from the ring.- Parameters:
r
- polynomial ring factory.l
- list of polynomial lists.- Returns:
- sorted list of polynomial lists from l.
-