Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #2820 > unrolled thread
| Started by | Themis Matsoukas <tmatsoukas@me.com> |
|---|---|
| First post | 2011-05-31 11:47 +0000 |
| Last post | 2011-06-01 08:33 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
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
| From | Themis Matsoukas <tmatsoukas@me.com> |
|---|---|
| Date | 2011-05-31 11:47 +0000 |
| Subject | How to Catch FindRoot::lstol error in FindRoot loop |
| Message-ID | <is2kgf$qon$1@smc.vnet.net> |
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
[toc] | [next] | [standalone]
| From | Armand Tamzarian <mike.honeychurch@gmail.com> |
|---|---|
| Date | 2011-06-01 08:33 +0000 |
| Message-ID | <is4tg2$b3i$1@smc.vnet.net> |
| In reply to | #2820 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web