DOCUMENTATION CENTER SEARCH
Mathematica
>
Functional Iteration
>
Built-in
Mathematica
Symbol
Applying Functions Repeatedly
Tutorials »
|
NestList
NestWhile
Fold
Function
FixedPoint
Do
Composition
See Also »
|
Functional Iteration
Functional Programming
Language Overview
Looping Constructs
Procedural Programming
More About »
Nest
Nest
[
f
,
expr
,
n
]
gives an expression with
f
applied
n
times to
expr
.
MORE INFORMATION
You can use
Throw
to exit from
Nest
before it is finished.
»
EXAMPLES
CLOSE ALL
Basic Examples
(2)
In[1]:=
Out[1]=
The function to nest can be a pure function:
In[1]:=
Out[1]=
Scope
(3)
Generalizations & Extensions
(2)
Applications
(7)
Properties & Relations
(6)
Neat Examples
(4)
SEE ALSO
NestList
NestWhile
Fold
Function
FixedPoint
Do
Composition
TUTORIALS
Applying Functions Repeatedly
MORE ABOUT
Functional Iteration
Functional Programming
Language Overview
Looping Constructs
Procedural Programming
RELATED LINKS
NKS|Online
(
A New Kind of Science
)
New in 1 | Last modified in 3
© 2008 Wolfram Research, Inc.