From: "Peter S. Christopher" <peterc@midway.uchicago.edu>
To: gsl-discuss@sources.redhat.com
Subject: 1-d roots (error handling)
Date: Mon, 30 Dec 2002 13:50:00 -0000 [thread overview]
Message-ID: <Pine.GSO.4.21.0212301026230.27039-100000@harper.uchicago.edu> (raw)
Hi list,
I'm using brents algorithm to find one dimensional roots, although
I don't think my question is restricted to brents algo. In the multi-root
package, the user defined function can return GSL_FAILURE to indicate to
the solver that a critical error has occurred. Then the solver returns an
appropriate error code. Can this be done with the one-d root
algorithms? The current interface has the 1-d user defined function
returning a double; if I return GSL_NAN from my user defined will the the
solver handle that like a critical error? Should it handle this like a
critical error?
Thanks in advance,
Pete Christopher
next reply other threads:[~2002-12-30 16:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-30 13:50 Peter S. Christopher [this message]
2003-01-01 20:57 ` Brian Gough
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSO.4.21.0212301026230.27039-100000@harper.uchicago.edu \
--to=peterc@midway.uchicago.edu \
--cc=gsl-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).