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