Package edu.jas.poly
Class RecToDist<C extends RingElem<C>>
- java.lang.Object
-
- edu.jas.poly.RecToDist<C>
-
- All Implemented Interfaces:
UnaryFunctor<GenPolynomial<GenPolynomial<C>>,GenPolynomial<C>>
class RecToDist<C extends RingElem<C>> extends java.lang.Object implements UnaryFunctor<GenPolynomial<GenPolynomial<C>>,GenPolynomial<C>>
Conversion of recursive to distributive representation.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) GenPolynomialRing<C>
fac
-
Constructor Summary
Constructors Constructor Description RecToDist(GenPolynomialRing<C> fac)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenPolynomial<C>
eval(GenPolynomial<GenPolynomial<C>> c)
Evaluate.
-
-
-
Field Detail
-
fac
GenPolynomialRing<C extends RingElem<C>> fac
-
-
Constructor Detail
-
RecToDist
public RecToDist(GenPolynomialRing<C> fac)
-
-
Method Detail
-
eval
public GenPolynomial<C> eval(GenPolynomial<GenPolynomial<C>> c)
Description copied from interface:UnaryFunctor
Evaluate.- Specified by:
eval
in interfaceUnaryFunctor<GenPolynomial<GenPolynomial<C extends RingElem<C>>>,GenPolynomial<C extends RingElem<C>>>
- Returns:
- evaluated element.
-
-