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