Package edu.jas.poly
Class RatNumer
- java.lang.Object
-
- edu.jas.poly.RatNumer
-
- All Implemented Interfaces:
UnaryFunctor<BigRational,BigInteger>
class RatNumer extends java.lang.Object implements UnaryFunctor<BigRational,BigInteger>
BigRational numerator functor.
-
-
Constructor Summary
Constructors Constructor Description RatNumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegereval(BigRational c)Evaluate.
-
-
-
Method Detail
-
eval
public BigInteger eval(BigRational c)
Description copied from interface:UnaryFunctorEvaluate.- Specified by:
evalin interfaceUnaryFunctor<BigRational,BigInteger>- Returns:
- evaluated element.
-
-