Class HarmonicSeries
java.lang.Object
org.episteme.core.mathematics.sequences.HarmonicSeries
- All Implemented Interfaces:
InfiniteSequence<Real>, Sequence<Real>
Represents the Harmonic series: 1 + 1/2 + 1/3 + 1/4 + ...
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Details
-
HarmonicSeries
public HarmonicSeries()
-
-
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
-