Package edu.jas.ufd

Class EvalPoints<C extends RingElem<C>>

  • Type Parameters:
    C - coefficient type
    All Implemented Interfaces:
    java.io.Serializable

    public class EvalPoints<C extends RingElem<C>>
    extends java.lang.Object
    implements java.io.Serializable
    Container for the evaluation points of a polynomial.
    Author:
    Heinz Kredel
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.List<C> evalPoints
      Evaluation points.
      GenPolynomial<C> poly
      Original multivariate polynomial to be evaluated.
      GenPolynomial<C> upoly
      Evaluated univariate polynomial as evaluated.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toScript()
      Get a scripting compatible string representation.
      java.lang.String toString()
      Get the String representation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EvalPoints

        public EvalPoints​(GenPolynomial<C> p,
                          GenPolynomial<C> u,
                          java.util.List<C> ep)
        Constructor.
        Parameters:
        p - given GenPolynomial in r variables, x_{r+1}, x_{r}, ..., x_{1}.
        u - evaluated GenPolynomial = p(x_{r+1}, lr, ..., l1).
        ep - list of evaluation points, (l1, ..., lr).
    • Method Detail

      • toString

        public java.lang.String toString()
        Get the String representation.
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • toScript

        public java.lang.String toScript()
        Get a scripting compatible string representation.
        Returns:
        script compatible representation for this container.
        See Also:
        ElemFactory.toScript()