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

Nest

Usage

Nest[f, expr, n] 返回一个把fexpr上作用n次后得到的表达式


Notes

• 例如: Nest[f, x, 3]LongRightArrow .
• 你可以使用ThrowNest被完成之前从Nest退出.
• 参见 Mathematica 全书: 2.2.2节.
• 同时参见: NestList, NestWhile, Fold, Function, FixedPoint, Do.
Further Examples

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

In[1]:=  

Out[1]=

This iteration provides evidence that the sine function approaches its fixed point at zero very slowly.

In[2]:=  

Out[2]=

See the Further Examples for NestList.