Package edu.jas.poly

Class OrderedModuleList<C extends RingElem<C>>

  • All Implemented Interfaces:
    java.io.Serializable

    public class OrderedModuleList<C extends RingElem<C>>
    extends ModuleList<C>
    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.
    Author:
    Heinz Kredel
    See Also:
    Serialized Form
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object m)
        Comparison with any other object.
        Overrides:
        equals in class ModuleList<C extends RingElem<C>>
        See Also:
        Object.equals(java.lang.Object)
      • sort

        public static <C extends RingElem<C>> java.util.List<java.util.List<GenPolynomial<C>>> sort​(GenPolynomialRing<C> r,
                                                                                                    java.util.List<java.util.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.