Libbarrett  1.2.4
include/barrett/cdlbt/interp.h
Go to the documentation of this file.
00001 
00055 #ifndef BARRETT_CDLBT_INTERP_H_
00056 #define BARRETT_CDLBT_INTERP_H_
00057 #ifdef __cplusplus
00058 extern "C" {
00059 #endif
00060 
00061 #include <gsl/gsl_interp.h>
00062 
00063    
00070 enum bt_interp_type {
00071    BT_INTERP_NATURAL,
00072    BT_INTERP_SLOPE
00073 };
00074 
00075 
00078 const gsl_interp_type * bt_interp;
00079 
00080 
00083 int bt_interp_set_type(gsl_interp * interp, enum bt_interp_type ltype,
00084                        enum bt_interp_type rtype);
00085 
00086 
00093 int bt_interp_set_slopes(gsl_interp * interp, double lslope, double rslope);
00094 
00095 
00096 #ifdef __cplusplus
00097 }
00098 #endif
00099 #endif /* BARRETT_CDLBT_INTERP_H_ */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines