MathGroup Archive 1996

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

Search the Archive

Re: Fixed Point functions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3274] Re: [mg3229] Fixed Point functions
  • From: jpk at apex.mpe.FTA-Berlin.de (Jens-Peer Kuska)
  • Date: Fri, 23 Feb 1996 02:11:33 -0500
  • Sender: owner-wri-mathgroup at wolfram.com

----- 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