Class GeometricSeries
java.lang.Object
org.episteme.core.mathematics.sequences.GeometricSeries
- All Implemented Interfaces:
InfiniteSequence<Real>, Sequence<Real>
Represents a Geometric series: a + ar + ar^2 + ar^3 + ...
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Details
-
GeometricSeries
-
-
Method Details
-
get
-
isConvergent
public boolean isConvergent()Description copied from interface:InfiniteSequenceChecks if the sequence converges to a limit.- Specified by:
isConvergentin interfaceInfiniteSequence<Real>- Returns:
- true if the sequence converges, false otherwise
-
limit
Description copied from interface:InfiniteSequenceReturns the limit of the sequence if it converges.- Specified by:
limitin interfaceInfiniteSequence<Real>- Returns:
- the limit of the sequence
-