Up to [local] / OpenXM / src / ox_gsl
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7 / (download) - annotate - [select for diffs], Wed Apr 18 08:31:51 2018 UTC (6 years, 6 months ago) by ohara
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +4 -3
lines
Diff to previous 1.6 (unified) to selected 1.4 (unified)
Fixed a bug of register_entry().
Revision 1.6 / (download) - annotate - [select for diffs], Tue Apr 17 02:50:07 2018 UTC (6 years, 6 months ago) by ohara
Branch: MAIN
Changes since 1.5: +7 -1
lines
Diff to previous 1.5 (unified) to selected 1.4 (unified)
Add op_parentheses as the unary operator ( x ).
Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 13 16:51:42 2018 UTC (6 years, 6 months ago) by ohara
Branch: MAIN
Changes since 1.4: +2 -1
lines
Diff to previous 1.4 (unified)
cmo_null can be evaluated as (double) 0 by eval_cmo.
Revision 1.4 / (download) - annotate - [selected], Fri Apr 6 10:44:51 2018 UTC (6 years, 7 months ago) by ohara
Branch: MAIN
Changes since 1.3: +36 -14
lines
Diff to previous 1.3 (unified)
eval_cmo() is updated. 1. now unary negative operator "-" is accepted. 2. the constant @pi and @e are implemented. 3. many "libm" functions are added.
Revision 1.3 / (download) - annotate - [select for diffs], Thu Apr 5 13:02:39 2018 UTC (6 years, 7 months ago) by ohara
Branch: MAIN
Changes since 1.2: +28 -4
lines
Diff to previous 1.2 (unified) to selected 1.4 (unified)
Add the following functions: void replace(int n, ...); void replace2(int n, char *s[], double v[]); They invoke init_dic() and register_entry() automatically. Usage: double d; replace(3,"x",1.21,"y",2.0,"z",-3.1); if(eval_cmo(your_cmo_tree,&d)==0) goto_error(); or double d; char *s[] = {"x","y","z"}; double v[] = {1.21, 2.0, -3.1}; replace2(3,s,v); if(eval_cmo(your_cmo_tree,&d)==0) goto_error();
Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 5 05:53:52 2018 UTC (6 years, 7 months ago) by ohara
Branch: MAIN
Changes since 1.1: +84 -1
lines
Diff to previous 1.1 (unified) to selected 1.4 (unified)
Summary: Add an evaluator for cmo_recursive_polynomial.
Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 3 12:09:46 2018 UTC (6 years, 7 months ago) by ohara
Branch: MAIN
Diff to selected 1.4 (unified)
Add new function eval_cmo() to ox_gsl. To evaluate a function defined by [your_cmo_tree] for x->1.25, y->2.1, Please write the following code: double d; init_dic(); register_entry("x",1.25); register_entry("y",2.1); if(eval_cmo(your_cmo_tree,&d)==0) goto_error();