=================================================================== RCS file: /home/cvs/OpenXM/src/ox_gsl/ox_gsl.h,v retrieving revision 1.4 retrieving revision 1.7 diff -u -p -r1.4 -r1.7 --- OpenXM/src/ox_gsl/ox_gsl.h 2018/04/04 01:03:59 1.4 +++ OpenXM/src/ox_gsl/ox_gsl.h 2018/06/07 11:49:51 1.7 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/ox_gsl/ox_gsl.h,v 1.3 2018/03/30 08:48:23 takayama Exp $ +/* $OpenXM: OpenXM/src/ox_gsl/ox_gsl.h,v 1.6 2018/06/07 11:13:05 takayama Exp $ */ // Todo, misc-2017/A3/kanazawa/ox_gsl.h.for_obj #include @@ -19,6 +19,9 @@ int main(); double get_double(); double *get_double_list(int *length); +// They will be replaced by the following functions. +double cmo2double(cmo *c); +double *cmo2double_list(int *length,cmo *c); void init_gc(); void *gc_realloc(void *p,size_t osize,size_t nsize); @@ -46,5 +49,9 @@ int myfputs(int fd,const char *s); int myfclose(int fd); void test_ox_eval(); -cmo_tree *get_tree(); -void print_tree(cmo_tree *c); +int eval_cmo(cmo *c,double *retval); +int register_entry(char *s,double v); +void init_dic(); + +cmo *element_of_at(cmo *list,int k); +