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