Package org.hipparchus.fraction
Interface Fraction.ConvergenceTest
- Enclosing class:
- Fraction
- 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 TypeMethodDescriptionboolean
test
(int numerator, int denominator) Evaluates if the fraction formed bynumerator/denominator
satisfies this convergence test.
-
Method Details
-
test
boolean test(int numerator, int denominator) Evaluates if the fraction formed bynumerator/denominator
satisfies this convergence test.- Parameters:
numerator
- the numeratordenominator
- the denominator- Returns:
- if this convergence test is satisfied
-