PolynomialList
edu.jas.poly

Class PolynomialList<C extends RingElem<C>>

    • Method Detail

      • toScript

        public String toScript()
        Get a scripting compatible string representation.
        Returns:
        script compatible representation for this polynomial list.
      • getModuleList

        public ModuleList<C> getModuleList(int i)
        Get ModuleList from PolynomialList. Extract module from polynomial ring.
        Parameters:
        i - number of variables to be contract form the polynomials.
        Returns:
        module list corresponding to this.
        See Also:
        ModuleList
      • castToSolvableList

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

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

        public GenSolvablePolynomialRing<C> getSolvableRing()
        Get ring as GenSolvablePolynomialRing.
        Returns:
        solvable polynomial ring list from this.
      • castToSolvableList

        public static <C extends RingElem<C>> List<GenSolvablePolynomial<C>> castToSolvableList(List<GenPolynomial<C>> list)
        Get list as List of GenSolvablePolynomials. Required because no List casts allowed. Equivalent to cast (List<GenSolvablePolynomial<C>>) list.
        Parameters:
        list - list of extensions of polynomials.
        Returns:
        solvable polynomial list from this.
      • castToSolvableMatrix

        public static <C extends RingElem<C>> List<List<GenSolvablePolynomial<C>>> castToSolvableMatrix(List<List<GenPolynomial<C>>> list)
        Get list of list as List of List of GenSolvablePolynomials. Required because no List casts allowed. Equivalent to cast (List<GenSolvablePolynomial<C>>) list.
        Parameters:
        list - list of extensions of polynomials.
        Returns:
        solvable polynomial list from this.
      • castToList

        public static <C extends RingElem<C>> List<GenPolynomial<C>> castToList(List<? extends GenPolynomial<C>> slist)
        Get list of extensions of polynomials as List of GenPolynomials. Required because no List casts allowed. Equivalent to cast (List<GenPolynomial<C>>) list. Mainly used for lists of GenSolvablePolynomials.
        Parameters:
        slist - list of extensions of polynomials.
        Returns:
        polynomial list from slist.
      • castToMatrix

        public static <C extends RingElem<C>> List<List<GenPolynomial<C>>> castToMatrix(List<List<? extends GenPolynomial<C>>> slist)
        Get list of list of extensions of polynomials as List of List of GenPolynomials. Required because no List casts allowed. Equivalent to cast (List<GenPolynomial<C>>) list. Mainly used for lists of GenSolvablePolynomials.
        Parameters:
        slist - list of extensions of polynomials.
        Returns:
        polynomial list from slist.
      • isZERO

        public boolean isZERO()
        Test if list contains only ZEROs.
        Returns:
        true, if this is the 0 list, else false
      • isONE

        public boolean isONE()
        Test if list contains a ONE.
        Returns:
        true, if this contains 1, else false
      • homogenize

        public PolynomialList<C> homogenize()
        Make homogeneous.
        Returns:
        polynomial list of homogeneous polynomials.
      • deHomogenize

        public PolynomialList<C> deHomogenize()
        Dehomogenize.
        Returns:
        polynomial list of de-homogenized polynomials.
      • isHomogeneous

        public boolean isHomogeneous()
        Test if all polynomials are homogeneous.
        Returns:
        true, if all polynomials are homogeneous, else false

SCaVis 2.2 © jWork.ORG