Package edu.jas.ufd
Class EvalPoints<C extends RingElem<C>>
- java.lang.Object
-
- edu.jas.ufd.EvalPoints<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.
-
Constructor Summary
Constructors Constructor Description EvalPoints(GenPolynomial<C> p, GenPolynomial<C> u, java.util.List<C> ep)
Constructor.
-
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.
-
-
-
Field Detail
-
poly
public final GenPolynomial<C extends RingElem<C>> poly
Original multivariate polynomial to be evaluated.
-
upoly
public final GenPolynomial<C extends RingElem<C>> upoly
Evaluated univariate polynomial as evaluated.
-
evalPoints
public final java.util.List<C extends RingElem<C>> evalPoints
Evaluation points.
-
-
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 classjava.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()
-
-