Package edu.jas.poly
Class RatToInt
java.lang.Object
edu.jas.poly.RatToInt
- All Implemented Interfaces:
UnaryFunctor<BigRational,
BigInteger>
Conversion of BigRational to BigInteger with division by lcm functor. result
= num*(lcm/denom).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lcm
BigInteger lcm
-
-
Constructor Details
-
RatToInt
-
-
Method Details
-
eval
Description copied from interface:UnaryFunctor
Evaluate.- Specified by:
eval
in interfaceUnaryFunctor<BigRational,
BigInteger> - Returns:
- evaluated element.
-