Libbarrett
1.2.4
|
00001 00035 #ifndef BARRETT_CDLBT_GSL_H_ 00036 #define BARRETT_CDLBT_GSL_H_ 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif 00040 00041 #include <libconfig.h> 00042 #include <gsl/gsl_vector.h> 00043 #include <gsl/gsl_matrix.h> 00044 00045 00057 int bt_gsl_cross(gsl_vector * a, gsl_vector * b, gsl_vector * res); 00058 00059 00072 char * bt_gsl_vector_sprintf(char * buffer, gsl_vector * vector); 00073 00074 00083 int bt_gsl_config_get_double(config_setting_t * setting, double * result); 00084 00085 00095 int bt_gsl_config_double_from_group(config_setting_t * grp, char * name, 00096 double * result); 00097 00098 00112 int bt_gsl_fill_vector_cfggroup(gsl_vector * vec, config_setting_t * parent, 00113 const char * name); 00114 00115 00116 int bt_gsl_fill_vector_cfgarray(gsl_vector * vec, config_setting_t * array); 00117 00118 00119 int bt_gsl_fill_vector(gsl_vector * vec, ...); 00120 00121 00134 int bt_gsl_fill_matrix(gsl_matrix * mat, config_setting_t * parent, 00135 const char * name); 00136 00137 00138 #ifdef __cplusplus 00139 } 00140 #endif 00141 #endif /* BARRETT_CDLBT_GSL_H_ */