Up to [local] / OpenXM / src / ox_gsl
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jun 8 00:03:43 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +4 -3
lines
Diff to previous 1.7 (colored)
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);
Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 7 01:53:33 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.6: +42 -15
lines
Diff to previous 1.6 (colored)
added monte_miser_integrate and monte_vegas_integrate.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 6 10:46:00 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.5: +10 -5
lines
Diff to previous 1.5 (colored)
Fixed a bug on gsl_monte_function.
Revision 1.5 / (download) - annotate - [select for diffs], Wed Jun 6 07:40:32 2018 UTC (6 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.4: +66 -1
lines
Diff to previous 1.4 (colored)
gsl_monte_plain_integrate is added, but it is still buggy.
Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 18 02:20:51 2018 UTC (6 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.3: +6 -2
lines
Diff to previous 1.3 (colored)
Added some codes for debugging.
Revision 1.3 / (download) - annotate - [select for diffs], Tue Apr 17 00:56:38 2018 UTC (6 years, 4 months ago) by takayama
Branch: MAIN
Changes since 1.2: +61 -3
lines
Diff to previous 1.2 (colored)
gsl_integration_qags (adaptive numerical integration) is added. ox_cmo_rpc(Pid,"gsl_integration_qags", f(x),a,b) returns an approximate value of int_a^b f(x) dx. Example: ox_launch(0,getenv("OpenXM_HOME")+"/src/ox_gsl/ox_gsl"); 0 [1817] ox_cmo_rpc(0,"gsl_integration_qags",quote(x^2*log(x)),0.0,1.0); 0 [1818] ox_pop_cmo(0); [-0.111111,9.27977e-09,0]
Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 30 04:43:16 2018 UTC (6 years, 5 months ago) by takayama
Branch: MAIN
Changes since 1.1: +9 -3
lines
Diff to previous 1.1 (colored)
An error handling function myhander() is added.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 29 11:52:18 2018 UTC (6 years, 5 months ago) by takayama
Branch: MAIN
The complex gamma function implemented in GSL is installed. Ex. ox_launch(0,"/Users/nobuki/OX4/OpenXM/src/ox_gsl/ox_gsl"); 0 [1916] ox_cmo_rpc(0,"gsl_sf_lngamma_complex_e",3,0); ox_pop_cmo(0); 0 [1917] [0.693147,0,0] [log( |Gamma(z)| ), arg( Gamma(z)), status] [1918] ox_cmo_rpc(0,"gsl_sf_lngamma_complex_e",3,2); ox_pop_cmo(0); 0 [1919] [4.44406e+15,2.32392,0] CVS ----------------------------------------------------------------------