Package org.hipparchus.fraction
Interface BigFraction.ConvergenceTest
- Enclosing class:
BigFraction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A test to determine if a series of fractions has converged.
-
Method Summary
Modifier and TypeMethodDescriptionbooleantest(long numerator, long denominator) Evaluates if the fraction formed bynumerator/denominatorsatisfies this convergence test.
-
Method Details
-
test
boolean test(long numerator, long denominator) Evaluates if the fraction formed bynumerator/denominatorsatisfies this convergence test.- Parameters:
numerator- the numeratordenominator- the denominator- Returns:
- if this convergence test is satisfied
-