→
FixedPointList
/
Reference of Built-in Symbols
/
Functional Programming
/
Iteratively Applying Functions
/
FixedPoint
/
FixedPoint
WMA link
FixedPoint
[
f
,
expr
]
starting with
expr
, iteratively applies
f
until the result no longer changes.
FixedPoint
[
f
,
expr
,
n
]
performs at most
n
iterations. The same that using $MaxIterations->n$
FixedPoint[Cos, 1.0]
FixedPoint[#+1 &, 1, 20]
→
FixedPointList