org.jscience.mathematics.analysis.series
Class FibonacciSeries

java.lang.Object
  extended by org.jscience.mathematics.analysis.series.FibonacciSeries
All Implemented Interfaces:
AbstractSeries, PrimitiveSeries

public final class FibonacciSeries
extends java.lang.Object
implements PrimitiveSeries

The Fibonacci mathematical series, 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, . . .


Constructor Summary
FibonacciSeries()
          Creates a new FibonacciSeries object.
 
Method Summary
 double getValue()
          DOCUMENT ME!
 double getValueAtRank(int n)
          DOCUMENT ME!
 boolean isConvergent()
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FibonacciSeries

public FibonacciSeries()
Creates a new FibonacciSeries object.

Method Detail

getValueAtRank

public double getValueAtRank(int n)
DOCUMENT ME!

Specified by:
getValueAtRank in interface PrimitiveSeries
Parameters:
n - DOCUMENT ME!
Returns:
DOCUMENT ME!

isConvergent

public boolean isConvergent()
DOCUMENT ME!

Specified by:
isConvergent in interface AbstractSeries
Returns:
DOCUMENT ME!

getValue

public double getValue()
DOCUMENT ME!

Specified by:
getValue in interface PrimitiveSeries
Returns:
DOCUMENT ME!