|
[Date Index]
[Thread Index]
[Author Index]
RE: FixedPoint vs. FixedPointList
- To: mathgroup at smc.vnet.net
- Subject: [mg24436] RE: [mg24384] FixedPoint vs. FixedPointList
- From: F.H.Simons at tue.nl
- Date: Tue, 18 Jul 2000 00:58:35 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Otto,
Maybe the following will help you. Let n be a counter for the number of
iterations.
n=0; x = FixedPoint[ f, x, SameTest :> (n++;Abs[#2-#1]<somesmallnumber&)]
Now the value of n is the number of iterations. Note the SetDelayed in
SameTest.
Regards,
Fred Simons
Eindhoven University of Technology
Prev by Date:
Quick Linux question
Next by Date:
Equation of a "potato"
Previous by thread:
FixedPoint vs. FixedPointList
Next by thread:
Re: FixedPoint vs. FixedPointList
|