Powered by Apache

CVS log for OpenXM/src/ox_gsl/ox_gsl.h

[BACK] Up to [local] / OpenXM / src / ox_gsl

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 1 10:28:22 2020 UTC (4 years, 1 month ago) by noro
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored) to selected 1.3 (colored)

Modified various parts for building with Xcode-12.

Revision 1.8 / (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.7: +2 -1 lines
Diff to previous 1.7 (colored) to selected 1.3 (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 11:49:51 2018 UTC (6 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored) to selected 1.3 (colored)

cmo2double() and cmo2double_list() are added.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 7 11:13:05 2018 UTC (6 years, 6 months ago) by takayama
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored) to selected 1.3 (colored)

element_of_at(cmo *list,int k) returns the k-th element of the list.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 6 01:56:49 2018 UTC (6 years, 8 months ago) by takayama
Branch: MAIN
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored) to selected 1.3 (colored)

Clean unnecessary codes.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 4 01:03:59 2018 UTC (6 years, 8 months ago) by takayama
Branch: MAIN
Changes since 1.3: +5 -1 lines
Diff to previous 1.3 (colored)

ox_eval.c is linked to ox_gsl.
Pid=ox_launch(0,getenv("OpenXM_HOME")+"/src/ox_gsl/ox_gsl");
ox_cmo_rpc(Pid,"test_ox_eval",quote(x+1));
ox_pop_cmo(Pid);
does not return the correct value. We need debugs.

Revision 1.3 / (download) - annotate - [selected], Fri Mar 30 08:48:23 2018 UTC (6 years, 8 months ago) by takayama
Branch: MAIN
Changes since 1.2: +9 -1 lines
Diff to previous 1.2 (colored)

Fixed a bug on creating an error cmo.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Mar 30 04:43:17 2018 UTC (6 years, 8 months ago) by takayama
Branch: MAIN
Changes since 1.1: +10 -1 lines
Diff to previous 1.1 (colored) to selected 1.3 (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, 8 months ago) by takayama
Branch: MAIN
Diff to selected 1.3 (colored)

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 ----------------------------------------------------------------------

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>