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>
cfac
protected ComplexRing<C>
cr
protected 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:UnaryFunctor
Evaluate.- Specified by:
eval
in interfaceUnaryFunctor<C extends GcdRingElem<C> & Rational,ComplexAlgebraicNumber<C extends GcdRingElem<C> & Rational>>
- Returns:
- evaluated element.
-
-