Ignore:
Timestamp:
Dec 13, 2008, 9:29:40 AM (13 years ago)
Author:
Jari Häkkinen
Message:

Addresses #466 added linear interpolation classes.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/LinearInterpolation.cc

    r1645 r1646  
    2020*/
    2121
    22 #include "CSplineInterpolation.h"
     22#include "LinearInterpolation.h"
    2323
    2424#include <gsl/gsl_interp.h>
     
    2929
    3030
    31   CSplineInterpolation::CSplineInterpolation(const utility::VectorBase& x,
    32                                             const utility::VectorBase& y)
    33     : GSLInterpolation(gsl_interp_cspline,x,y)
     31  LinearInterpolation::LinearInterpolation(const utility::VectorBase& x,
     32                                          const utility::VectorBase& y)
     33    : GSLInterpolation(gsl_interp_linear,x,y)
    3434  {
    3535  }
    3636
    3737
    38   CSplineInterpolation::~CSplineInterpolation(void)
     38  LinearInterpolation::~LinearInterpolation(void)
    3939  {
    4040  }
Note: See TracChangeset for help on using the changeset viewer.