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

Try

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

finaly the iteration count is stored in cnt.

Hope that helps,
Jens

==== [MESSAGE SEPARATOR] ====


  • Prev by Date: Re: Graphing recurrences
  • Next by Date: Re: Fixed Point functions
  • Previous by thread: Re: Fixed Point functions
  • Next by thread: Re: Fixed Point functions