LSST Applications g044012fb7c+304891ab8a,g04a91732dc+4e1b87f259,g07dc498a13+f701f15b83,g114c6a66ad+c7887c1284,g1409bbee79+f701f15b83,g1a7e361dbc+f701f15b83,g1fd858c14a+6ebd102b59,g35bb328faa+0eb18584fe,g3bd4b5ce2c+e83bf4edc8,g4e0f332c67+976ceb6bc8,g53246c7159+0eb18584fe,g5477a8d5ce+51234355ef,g60b5630c4e+c7887c1284,g623d845a50+c7887c1284,g6f0c2978f1+98123c34b6,g71fabbc107+c7887c1284,g75b6c65c88+ce466f4385,g78460c75b0+85633614c8,g786e29fd12+02b9b86fc9,g8852436030+cfe5cf5b7b,g89139ef638+f701f15b83,g9125e01d80+0eb18584fe,g95236ca021+d4f98599f0,g974caa22f6+0eb18584fe,g989de1cb63+f701f15b83,g9f33ca652e+b4908f5dcd,gaaedd4e678+f701f15b83,gabe3b4be73+543c3c03c9,gace736f484+07e57cea59,gb1101e3267+487fd1b06d,gb58c049af0+492386d360,gc99c83e5f0+a513197d39,gcf25f946ba+cfe5cf5b7b,gd0fa69b896+babbe6e5fe,gd6cbbdb0b4+3fef02d88a,gde0f65d7ad+e8379653a2,ge278dab8ac+ae64226a64,gfba249425e+0eb18584fe,w.2025.07
LSST Data Management Base Package
|
#include <Spline.h>
Public Member Functions | |
virtual | ~Spline ()=default |
Spline (Spline const &)=default | |
Spline (Spline &&)=default | |
Spline & | operator= (Spline const &)=default |
Spline & | operator= (Spline &&)=default |
void | interpolate (std::vector< double > const &x, std::vector< double > &y) const |
Interpolate a Spline. | |
void | derivative (std::vector< double > const &x, std::vector< double > &dydx) const |
Find the derivative of a Spline. | |
std::vector< double > | roots (double const value, double const x0, double const x1) const |
Find the roots of Spline - val = 0 in the range [x0, x1). | |
Protected Member Functions | |
Spline ()=default | |
void | _allocateSpline (int const nknot) |
Allocate the storage a Spline needs. | |
Protected Attributes | |
std::vector< double > | _knots |
std::vector< std::vector< double > > | _coeffs |
|
virtualdefault |
|
default |
|
default |
|
protecteddefault |
|
protected |
Allocate the storage a Spline needs.
Definition at line 21 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.
[in] | x | points to evaluate derivative at |
[out] | dydx | derivatives at x |
Definition at line 57 of file Spline.cc.
void lsst::afw::math::detail::Spline::interpolate | ( | std::vector< double > const & | x, |
std::vector< double > & | y ) const |
[in] | x | points to interpolate at |
[out] | y | values of spline interpolation at x |
Definition at line 29 of file Spline.cc.
std::vector< double > lsst::afw::math::detail::Spline::roots | ( | double const | value, |
double const | x0, | ||
double const | x1 ) const |
Find the roots of Spline - val = 0 in the range [x0, x1).
Return a vector of all the roots found
value | desired value |
x0,x1 | specify desired range is [x0,x1) |
Definition at line 1226 of file Spline.cc.
|
protected |
|
protected |