Continued Fraction VI

Owning Palette: Discrete Math VIs

Requires: Full Development System

Evaluates the continued fraction of two sequences (a[0], a[1], …, a[n]) and (b[0], b[1], …, b[n]).

Details  

 Add to the block diagram  Find on the palette
A is the 1D array of the numerator part of the continued fraction.
B is the 1D array of the denominator part of the continued fraction.
result is a real value representing the result of the continued fraction.
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

Continued Fraction Details

The following equation defines the evaluated sequences.

Continued fractions are valuable tools for calculating special functions.