MathGroup Archive 1996

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Fixed Point functions

----- Begin Included Message -----

>Here's a quicky:

>Is there a way to get the same effect as Length[FixedPointList[f, x, n]] 
>with FixedPoint. Or perhaps just a better way with FixedPointList or 
>something else? Any help appreciated

>--Jonathan Lee


In[1]:= cnt=0; FixedPoint[(cnt++: f[#]) &, x]
Out[1]= ...

finaly the iteration count is stored in cnt.

Hope that helps,

  • Prev by Date: Re: Fixed Point functions
  • Next by Date: Re: Books - tutorials / reference guides
  • Previous by thread: Re: Fixed Point functions
  • Next by thread: Listplot gives Postscript error?