Package edu.jas.root
Class CoeffToComplex<C extends GcdRingElem<C> & Rational>
- java.lang.Object
-
- edu.jas.root.CoeffToComplex<C>
-
- All Implemented Interfaces:
UnaryFunctor<C,ComplexAlgebraicNumber<C>>
class CoeffToComplex<C extends GcdRingElem<C> & Rational> extends java.lang.Object implements UnaryFunctor<C,ComplexAlgebraicNumber<C>>
Coefficient to complex algebraic functor.
-
-
Field Summary
Fields Modifier and Type Field Description protected ComplexAlgebraicRing<C>cfacprotected ComplexRing<C>crprotected AlgebraicNumber<Complex<C>>zero
-
Constructor Summary
Constructors Constructor Description CoeffToComplex(ComplexAlgebraicRing<C> fac)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ComplexAlgebraicNumber<C>eval(C c)Evaluate.
-
-
-
Field Detail
-
cfac
protected final ComplexAlgebraicRing<C extends GcdRingElem<C> & Rational> cfac
-
zero
protected final AlgebraicNumber<Complex<C extends GcdRingElem<C> & Rational>> zero
-
cr
protected final ComplexRing<C extends GcdRingElem<C> & Rational> cr
-
-
Constructor Detail
-
CoeffToComplex
public CoeffToComplex(ComplexAlgebraicRing<C> fac)
-
-
Method Detail
-
eval
public ComplexAlgebraicNumber<C> eval(C c)
Description copied from interface:UnaryFunctorEvaluate.- Specified by:
evalin interfaceUnaryFunctor<C extends GcdRingElem<C> & Rational,ComplexAlgebraicNumber<C extends GcdRingElem<C> & Rational>>- Returns:
- evaluated element.
-
-