[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] 1-d linear interploation

From: JongKwan Kim
Subject: [Help-gsl] 1-d linear interploation
Date: Thu, 15 Apr 2010 17:37:19 -0600

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]