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.h

    r1645 r1646  
    1 #ifndef _theplu_yat_regression_cspline_interpolation_
    2 #define _theplu_yat_regression_cspline_interpolation_
     1#ifndef _theplu_yat_regression_linear_interpolation_
     2#define _theplu_yat_regression_linear_interpolation_
    33
    44// $Id$
     
    3333
    3434  /**
    35      \brief Cubic spline with natural boundary conditions.
    36 
    37      The resulting curve is piecewise cubic on each interval, with
    38      matching first and second derivatives at the supplied
    39      data-points. The second derivative is chosen to be zero at the
    40      first point and last point.
     35     \brief Linear interpolation.
    4136
    4237     \see Please refer to the base class documentation for genereal
    4338     introduction to the GSL based interpolation methods.
    4439  */
    45   class CSplineInterpolation : public GSLInterpolation
     40  class LinearInterpolation : public GSLInterpolation
    4641  {
    4742
     
    5045       \brief The default constructor
    5146    */
    52     CSplineInterpolation(const utility::VectorBase& x,
    53                          const utility::VectorBase& y);
     47    LinearInterpolation(const utility::VectorBase& x,
     48                        const utility::VectorBase& y);
    5449
    5550    /**
    5651       \brief The destructor
    5752    */
    58     ~CSplineInterpolation(void);
     53    ~LinearInterpolation(void);
    5954
    6055  private:
     
    6257       \brief Copy Constructor. (not implemented)
    6358    */
    64     CSplineInterpolation(const CSplineInterpolation&);
     59    LinearInterpolation(const LinearInterpolation&);
    6560
    6661  };
Note: See TracChangeset for help on using the changeset viewer.