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 BigInteger
eval(BigRational c)
Evaluate.
-
-
-
Method Detail
-
eval
public BigInteger eval(BigRational c)
Description copied from interface:UnaryFunctor
Evaluate.- Specified by:
eval
in interfaceUnaryFunctor<BigRational,BigInteger>
- Returns:
- evaluated element.
-
-