This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Multiple parameters in ODEs
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: Slaven Peles <peles at cns dot physics dot gatech dot edu>
- Cc: gsl-discuss at sources dot redhat dot com
- Date: Mon, 15 Apr 2002 18:39:17 +0100 (BST)
- Subject: Re: Multiple parameters in ODEs
- References: <E16XqRM-0001aA-00@kaos.physics.gatech.edu><E16w5eu-0005iF-00@kaos.physics.gatech.edu>
Slaven Peles writes:
> I would like to know what is the _recommended_ way to define
> multiple parameters in a system of ODEs? Let me refer to the
> example in the reference manual: In case I have more than one
> parameter for Van der Pol equation, should I define 'mu' as an
> array or a structure or do it some other way? Also, if somebody
> has a nice example for this please send it to the list.
I always use a struct -- see some of the other programs in the manual
for examples.