ContinuedFractionK
The continued fraction over an index range, finite or infinite.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
ContinuedFractionK✓ContinuedFractionK(f, g, (i, imin, imax))the finite continued fraction, exact, for imin ≤ i ≤ imaxContinuedFractionK(f, g, (i, imin, PositiveInfinity))the infinite fraction, when and do not depend on Typed signatures
| Type | Package | Applies |
|---|---|---|
(any, any, tuple<symbol, integer, any>) -> number | modular | always |
Details
- The iterator is written the same way
SumandProductwrite theirs:Tuple(i, imin, imax) - The finite fraction is built right to left: first, then each down to
- The infinite case is solved algebraically, not truncated: constant make , whose positive root is the fraction's value — an or that depends on has no such closed form here, and the call stays unevaluated
Examples
About
| Examples | 2 |
|---|---|
| Checked against | Wolfram Language 2 agree |
| Crosswalk | Wolfram Language |
See also: Convergents, ContinuedFraction