Up to [local] / OpenXM / src / ox_gsl
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7 / (download) - annotate - [select for diffs], Wed Mar 10 06:51:57 2021 UTC (3 years, 9 months ago) by takayama
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3
lines
Diff to previous 1.6 (colored) to selected 1.5 (colored)
gsl-config is used to set flags.
Revision 1.6 / (download) - annotate - [select for diffs], Wed Oct 23 07:00:43 2019 UTC (5 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.5: +5 -2
lines
Diff to previous 1.5 (colored)
gsl.rr is the lapper of ox_gsl. Example. Ans=gsl.eigen_nonsymmv(M=matrix_list_to_matrix([[1,0],[3,4]])); calls gsl_eigen_nonsymmv() of GSL. It returns a list of (complex) eigenvalues and eigenvectors. It is still in a testing mode and ox_gsl is loaded from OpenXM/src/ox_gsl/ox_gsl
Revision 1.5 / (download) - annotate - [selected], Mon Oct 21 05:37:20 2019 UTC (5 years, 2 months ago) by takayama
Branch: MAIN
Changes since 1.4: +4 -3
lines
Diff to previous 1.4 (colored)
Added the incomplete gamma function \Gamma(a,x) [1856] ox_cmo_rpc(Pid,"gsl_sf_gamma_inc",deval(1/2),deval(2)); 0 [1857] ox_pop_cmo(Pid); 0.0806471
Revision 1.4 / (download) - annotate - [select for diffs], Fri Jun 8 00:03:43 2018 UTC (6 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.3: +5 -3
lines
Diff to previous 1.3 (colored) to selected 1.5 (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.3 / (download) - annotate - [select for diffs], Mon Jun 4 06:39:26 2018 UTC (6 years, 6 months ago) by ohara
Branch: MAIN
Changes since 1.2: +4 -4
lines
Diff to previous 1.2 (colored) to selected 1.5 (colored)
Since signal(3) of cygwin has a bug, our own implementation is used in cygwin environment.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 7 04:39:20 2018 UTC (6 years, 8 months ago) by ohara
Branch: MAIN
Changes since 1.1: +2 -2
lines
Diff to previous 1.1 (colored) to selected 1.5 (colored)
Using gsl-config in configure.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 7 03:30:50 2018 UTC (6 years, 8 months ago) by takayama
Branch: MAIN
Diff to selected 1.5 (colored)
configure script (tested only on MacOS and FreeBSD).