DOCUMENTATION CENTER SEARCH
Mathematica
>
Functional Iteration
>
Built-in
Mathematica
Symbol
Applying Functions Repeatedly
Tutorials »
|
FixedPoint
NestWhileList
NestList
ComposeList
See Also »
|
Constructing Lists
Functional Iteration
Functional Programming
More About »
FixedPointList
FixedPointList
[
f
,
expr
]
generates a list giving the results of applying
f
repeatedly, starting with
expr
, until the results no longer change.
MORE INFORMATION
FixedPointList
[
f
,
expr
]
gives
expr
as the first element of the list it produces.
The last two elements in the list produced by
FixedPointList
are always the same.
FixedPointList
[
f
,
expr
,
n
]
stops after at most
n
steps.
EXAMPLES
CLOSE ALL
Basic Examples
(2)
Find the sequence of values leading to a fixed point:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Repeated application of a rule until the result no longer changes:
In[1]:=
Out[1]=
In[2]:=
Out[2]=
Generalizations & Extensions
(1)
Options
(1)
Applications
(6)
Properties & Relations
(4)
Possible Issues
(1)
Neat Examples
(1)
SEE ALSO
FixedPoint
NestWhileList
NestList
ComposeList
TUTORIALS
Applying Functions Repeatedly
MORE ABOUT
Constructing Lists
Functional Iteration
Functional Programming
RELATED LINKS
NKS|Online
(
A New Kind of Science
)
New in 2
© 2008 Wolfram Research, Inc.