LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
#include <Spline.h>
Public Member Functions | |
virtual | ~Spline () |
void | interpolate (std::vector< double > const &x, std::vector< double > &y) const |
void | derivative (std::vector< double > const &x, std::vector< double > &dydx) const |
std::vector< double > | roots (double const value, double const x0, double const x1) const |
Protected Member Functions | |
Spline () | |
void | _allocateSpline (int const nknot) |
Protected Attributes | |
std::vector< double > | _knots |
std::vector< std::vector < double > > | _coeffs |
|
inlinevirtual |
|
inlineprotected |
|
protected |
Definition at line 25 of file Spline.cc.
void lsst::afw::math::detail::Spline::derivative | ( | std::vector< double > const & | x, |
std::vector< double > & | dydx | ||
) | const |
Find the derivative of a Spline.
x | points to evaluate derivative at |
dydx | derivatives at x |
Definition at line 73 of file Spline.cc.
void lsst::afw::math::detail::Spline::interpolate | ( | std::vector< double > const & | x, |
std::vector< double > & | y | ||
) | const |
Interpolate a Spline.
x | points to interpolate at |
y | interpolated values at x |
Definition at line 38 of file Spline.cc.
std::vector< double > lsst::afw::math::detail::Spline::roots | ( | double const | value, |
double const | x0, | ||
double const | x1 | ||
) | const |
value | desired value |
x0 | specify desired range is [x0,x1) |
x1 | specify desired range is [x0,x1) |
Definition at line 1472 of file Spline.cc.
|
protected |
|
protected |