Package edu.jas.root
Class CoeffToRecReAlg<C extends GcdRingElem<C> & Rational>
- java.lang.Object
-
- edu.jas.root.CoeffToRecReAlg<C>
-
- All Implemented Interfaces:
UnaryFunctor<C,RealAlgebraicNumber<C>>
class CoeffToRecReAlg<C extends GcdRingElem<C> & Rational> extends java.lang.Object implements UnaryFunctor<C,RealAlgebraicNumber<C>>
Coefficient to recursive algebraic functor.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
depth
protected java.util.List<RealAlgebraicRing<C>>
lfac
-
Constructor Summary
Constructors Constructor Description CoeffToRecReAlg(int depth, RealAlgebraicRing<C> fac)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RealAlgebraicNumber<C>
eval(C c)
Evaluate.
-
-
-
Field Detail
-
lfac
protected final java.util.List<RealAlgebraicRing<C extends GcdRingElem<C> & Rational>> lfac
-
depth
final int depth
-
-
Constructor Detail
-
CoeffToRecReAlg
public CoeffToRecReAlg(int depth, RealAlgebraicRing<C> fac)
-
-
Method Detail
-
eval
public RealAlgebraicNumber<C> eval(C c)
Description copied from interface:UnaryFunctor
Evaluate.- Specified by:
eval
in interfaceUnaryFunctor<C extends GcdRingElem<C> & Rational,RealAlgebraicNumber<C extends GcdRingElem<C> & Rational>>
- Returns:
- evaluated element.
-
-