ModuleList
edu.jas.poly

Class ModuleList<C extends RingElem<C>>

    • Field Detail

      • rows

        public final int rows
        Number of rows in the data structure.
      • cols

        public final int cols
        Number of columns in the data structure.
    • Method Detail

      • toScript

        public String toScript()
        Get a scripting compatible string representation.
        Returns:
        script compatible representation for this ModuleList.
      • padCols

        public static <C extends RingElem<C>> List<List<GenPolynomial<C>>> padCols(GenPolynomialRing<C> ring,                                                           List<List<GenPolynomial<C>>> l)
        Pad columns and remove zero rows. Make all rows have the same number of columns.
        Parameters:
        ring - polynomial ring factory.
        l - list of list of polynomials.
        Returns:
        list of list of polynomials with same number of colums.
      • getPolynomialList

        public PolynomialList<C> getPolynomialList()
        Get PolynomialList. Embed module in a polynomial ring.
        Returns:
        polynomial list corresponding to this.
        See Also:
        PolynomialList
      • castToSolvableList

        public List<List<GenSolvablePolynomial<C>>> castToSolvableList()
        Get list as List of GenSolvablePolynomials. Required because no List casts allowed. Equivalent to cast (List<List<GenSolvablePolynomial<C>>>) list.
        Returns:
        list of solvable polynomial lists from this.
      • castToList

        public static <C extends RingElem<C>> List<List<GenPolynomial<C>>> castToList(List<List<GenSolvablePolynomial<C>>> slist)
        Get a solvable polynomials list as List of GenPolynomials. Required because no List casts allowed. Equivalent to cast (List<List<GenPolynomial<C>>>) list.
        Parameters:
        slist - list of solvable polynomial lists.
        Returns:
        list of polynomial lists from slist.
      • vecToList

        public static <C extends RingElem<C>> List<List<GenPolynomial<C>>> vecToList(List<GenVector<GenPolynomial<C>>> vlist)
        Get a list of vectors as List of list of GenPolynomials.
        Parameters:
        vlist - list of vectors of polynomials.
        Returns:
        list of polynomial lists from vlist.

SCaVis 2.0 © jWork.ORG