Hi all,

I am using the GSL and I need to use the 1-d linear interpolation.
So, can you guys show me an example about the 1-d linear interpolation?

I am using....
#include <gsl/gsl_interp.h>

      const gsl_interp_type* ltype =  gsl_interp_linear;
      gsl_interp_accel *acc = gsl_interp_accel_alloc();
      gsl_interp* interp = gsl_interp_alloc(ltype,2);

However, I do not know how can I use the library.
So, please let me get an example for 1-d linear interpolation.

Thanks,
_______________________________________________
Help-gsl mailing list
Help-gsl@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to