Mathematica 9 is now available

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.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.