* Can't get equations in compile time for multidimensional root finding.
[not found] <999522083.1062.ezmlm@sources.redhat.com>
@ 2001-12-19 13:20 ` pschen
2001-12-19 13:20 ` Brian Gough
0 siblings, 1 reply; 2+ messages in thread
From: pschen @ 2001-12-19 13:20 UTC (permalink / raw)
To: gsl-discuss
Hello:
It seems that I must get equations in compile time and run the multidimensional
root finding solver. If the equations will be get at runtime, how can I run the
multidimensional root finding solver?
How to write the program?
Anyone occur this problem?
Thanks very much.
Ps. Chen
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can't get equations in compile time for multidimensional root finding.
2001-12-19 13:20 ` Can't get equations in compile time for multidimensional root finding pschen
@ 2001-12-19 13:20 ` Brian Gough
0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2001-12-19 13:20 UTC (permalink / raw)
To: pschen; +Cc: gsl-discuss
pschen writes:
> It seems that I must get equations in compile time and run the
> multidimensional root finding solver. If the equations will be
> get at runtime, how can I run the multidimensional root
> finding solver? How to write the program? Anyone occur this
> problem? Thanks very much.
You can use the void * params argument to pass a pointer to the
runtime representation of your equations and evaluate it.
I believe the program 'NumExp' listed on the GSL web page
http://sources.redhat.com/gsl/ does this for 1-d equations.
regards
Brian Gough
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-19 13:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <999522083.1062.ezmlm@sources.redhat.com>
2001-12-19 13:20 ` Can't get equations in compile time for multidimensional root finding pschen
2001-12-19 13:20 ` 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).