This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On April 23, 2003 06:43, Anze Slosar wrote: > ... > int PerturbationFunc (double t, const double y[], double f[], > void *pars) > { > > f[0]=y[1]; > f[1]=-1e6*y[0]; > > f[2]=y[3]; > f[3]=-1e6*y[2]; > return GSL_SUCCESS; > } > > ... > > gsl_odeiv_system sys = {PerturbationFunc, NULL, 1, NULL}; > Shouldn't dimension of your system be 4 instead of 1? Slaven
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |