此为 Mathematica 4 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.2)

NestList

Usage

NestList[f, expr, n] gives a list of the results of applying f to expr 0 through n times.


Notes

• 例如: NestList[f, x, 3]LongRightArrow .
NestList[f, expr, n] gives a list of length n + 1.
• 参见 Mathematica 全书: 2.2.2.
• 同时参见: Nest, NestWhileList, FoldList, ComposeList.
Further Examples

This nests the function f four times starting with initial value x.

In[1]:=  

Out[1]=

This gives some indication of just how slowly the sine function approaches its fixed point at zero.

In[2]:=  

Out[2]=