Up to [local] / OpenXM / src / ox_gsl
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.1 / (download) - annotate - [select for diffs], Fri Jun 8 00:03:43 2018 UTC (6 years, 5 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
ode solver: Example of y0'=y1,y1'=-4*x^2*y0+y1/x with y0(3.14/2)=1, y1(3.14/2)=0, h=1e-6, x in [3.14/2,10] Pid=ox_launch(0,getenv("OpenXM_HOME")+"/src/ox_gsl/ox_gsl"); ox_cmo_rpc(Pid,"gsl_odeiv_step_rk4",[quote(y1),quote(-4*x^2*y0+y1/x)], [1.0,0], 3.14/2, 10.0, 1e-6,"rk4"); Ans=ox_pop_cmo(Pid);