SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.analysis.function.rn2r1
Interface ContinuedFraction.Partials

Enclosing class:
ContinuedFraction

public static interface ContinuedFraction.Partials

Definition of a continued fraction in terms of the partial numerators an, and the partial denominators bn.


Method Summary
 double A(int n, double x)
          Compute an.
 double B(int n, double x)
          Compute bn.
 

Method Detail

A

double A(int n,
         double x)
Compute an.

Parameters:
n - an integer that counts from 1
x - x
Returns:
an

B

double B(int n,
         double x)
Compute bn.

Parameters:
n - an integer that counts from 0
x - x
Returns:
bn

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.