#ifndef __INTERPOLATE_FUNCTION_2003__ #define __INTERPOLATE_FUNCTION_2003__ // // Interp_Funct.h // Brian Magill // 10/17/2003 // // This header and its corresponding file Interp_Funct.c serve as // a means of wrapping the GNU Science Library functions so that // they can be compiled with C++ routines. // //---------------------------------------------------------------------- // #ifdef __cplusplus extern "C" { #endif int linear_fit(const double * x, const double * y, long n, double * intercept, double * slope, double * cov00, double * cov01, double * cov11, double * sumsq); int linear_fit_est(double x, double c0, double c1, double c00, double c01, double c11, double *y, double *y_err); #ifdef __cplusplus } #endif #endif