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