lsst.afw  13.0-73-gb2a4e38
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Friends | List of all members
lsst::afw::math::InterpolateGsl Class Reference
Inheritance diagram for lsst::afw::math::InterpolateGsl:
lsst::afw::math::Interpolate

Public Member Functions

virtual ~InterpolateGsl ()
 
virtual double interpolate (double const x) const
 
- Public Member Functions inherited from lsst::afw::math::Interpolate
virtual ~Interpolate ()
 
std::vector< double > interpolate (std::vector< double > const &x) const
 
ndarray::Array< double, 1 > interpolate (ndarray::Array< double const, 1 > const &x) const
 

Friends

std::shared_ptr< Interpolate > makeInterpolate (std::vector< double > const &x, std::vector< double > const &y, Interpolate::Style const style)
 A factory function to make Interpolate objects. More...
 

Additional Inherited Members

- Public Types inherited from lsst::afw::math::Interpolate
enum  Style {
  UNKNOWN = -1, CONSTANT = 0, LINEAR = 1, NATURAL_SPLINE = 2,
  CUBIC_SPLINE = 3, CUBIC_SPLINE_PERIODIC = 4, AKIMA_SPLINE = 5, AKIMA_SPLINE_PERIODIC = 6,
  NUM_STYLES
}
 
- Protected Member Functions inherited from lsst::afw::math::Interpolate
 Interpolate (std::vector< double > const &x, std::vector< double > const &y, Interpolate::Style const style=UNKNOWN)
 Base class ctor. More...
 
 Interpolate (std::pair< std::vector< double >, std::vector< double > > const xy, Interpolate::Style const style=UNKNOWN)
 Base class ctor. More...
 
- Protected Attributes inherited from lsst::afw::math::Interpolate
std::vector< double > const _x
 
std::vector< double > const _y
 
Interpolate::Style const _style
 

Detailed Description

Definition at line 170 of file Interpolate.cc.

Constructor & Destructor Documentation

lsst::afw::math::InterpolateGsl::~InterpolateGsl ( )
virtual

Definition at line 219 of file Interpolate.cc.

Member Function Documentation

double lsst::afw::math::InterpolateGsl::interpolate ( double const  x) const
virtual

Implements lsst::afw::math::Interpolate.

Definition at line 224 of file Interpolate.cc.

Friends And Related Function Documentation

std::shared_ptr<Interpolate> makeInterpolate ( std::vector< double > const &  x,
std::vector< double > const &  y,
Interpolate::Style const  style = Interpolate::AKIMA_SPLINE 
)
friend

A factory function to make Interpolate objects.

Parameters
xthe x-values of points
ythe values at x[]
styledesired interpolator

The documentation for this class was generated from the following file: