public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* 1-d roots (error handling)
@ 2002-12-30 13:50 Peter S. Christopher
  2003-01-01 20:57 ` Brian Gough
  0 siblings, 1 reply; 2+ messages in thread
From: Peter S. Christopher @ 2002-12-30 13:50 UTC (permalink / raw)
  To: gsl-discuss

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  


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-01 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-30 13:50 1-d roots (error handling) Peter S. Christopher
2003-01-01 20:57 ` Brian Gough

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).