java.lang.Object
edu.jas.poly.RatToDec<C>
- All Implemented Interfaces:
UnaryFunctor<C, BigDecimal>
class RatToDec<C extends Element<C> & Rational>
extends Object
implements UnaryFunctor<C, BigDecimal>
Conversion of Rational to BigDecimal. result = decimal(r).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RatToDec
RatToDec()
-
-
Method Details
-
eval
Description copied from interface:UnaryFunctorEvaluate.- Specified by:
evalin interfaceUnaryFunctor<C extends Element<C> & Rational, BigDecimal>- Returns:
- evaluated element.
-