NestList
The list of x, f(x), f(f(x)), ... up to n applications of f.
✓ checked against that system · ! checked, with disagreements (hover a chip)Wolfram Language
NestList!NestList(f, x, n) followed by every intermediate value up to , entries in all.Typed signatures
| Type | Package | Applies |
|---|---|---|
(function: any, x: any, n: integer) -> list<any> | combinatorics | always |
Details
- See Nest for just the final value.
Examples
Scope #
About
| Examples | 24 |
|---|---|
| Checked against | Wolfram Language 23 agree1 differmathlib4 9 agree |
| Crosswalk | Wolfram Language |
Implementation
mapped
mathlib4packages/oracle/src/mappings.tsThe start and each of n applications, n + 1 entries. A negative or non-integer count fails to elaborate, where ours holds the call.
See also: Nest, FixedPoint