Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5231
| From | "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Count Number of Iteration [FindRoot] |
| Date | 2011-09-26 08:22 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j5pcp0$8j0$1@smc.vnet.net> (permalink) |
| References | <j5mmcg$rq8$1@smc.vnet.net> |
On Sun, 25 Sep 2011 08:48:32 +0100, Afolabicrystal <afolabicrystal@gmail.com> wrote: > Hello group, > > I'm trying to find the roots of some functions using different > algorithms then compare with FindRoot. However, I'm using number of > iterations as my performance metric. > > Is there a function in Mathematica that I can use to count number of > iterations automatically especially in functions requiring iterations? > > Thanks. > Most functions of this type accept the StepMonitor option, which can be used to count or otherwise analyse the steps taken. Many detailed examples of this are given in the documentation for StepMonitor, so I will refrain from giving an example here.
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Count Number of Iteration [FindRoot] Afolabicrystal <afolabicrystal@gmail.com> - 2011-09-25 07:48 +0000
Re: Count Number of Iteration [FindRoot] "Oleksandr Rasputinov" <oleksandr_rasputinov@hmamail.com> - 2011-09-26 08:22 +0000
Re: Count Number of Iteration [FindRoot] Afolabicrystal <afolabicrystal@gmail.com> - 2011-09-27 00:12 +0000
csiph-web