Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2860
| From | Armand Tamzarian <mike.honeychurch@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How to Catch FindRoot::lstol error in FindRoot loop |
| Date | 2011-06-01 08:33 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <is4tg2$b3i$1@smc.vnet.net> (permalink) |
| References | <is2kgf$qon$1@smc.vnet.net> |
On May 31, 9:47 pm, Themis Matsoukas <tmatsou...@me.com> wrote:
> I have a Table that solves a system of two non-linear equations for 18 different data points using FindRoot. The table works and I get results for every iteration but I also get two FindRoot::lstol errors. How can I identify the iteration that produces the error? I don't want to put Print statements to catch the error manually.
>
> Thanks
>
> Themis
Something like this should help (in the documentation
Options>Evaluation Monitor)
{res, {evx}} = Reap[FindRoot[x^2 == Exp[x], {x, 0},
EvaluationMonitor :> Sow[x]]]
Mike
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
How to Catch FindRoot::lstol error in FindRoot loop Themis Matsoukas <tmatsoukas@me.com> - 2011-05-31 11:47 +0000 Re: How to Catch FindRoot::lstol error in FindRoot loop Armand Tamzarian <mike.honeychurch@gmail.com> - 2011-06-01 08:33 +0000
csiph-web