LSST Applications g0fba68d861+05a5e06e50,g1fd858c14a+904f1f4196,g2c84ff76c0+247cd845a2,g2c9e612ef2+f5117f1d55,g35bb328faa+fcb1d3bbc8,g4af146b050+123c2f4d45,g4d2262a081+a9e7a6e053,g4e0f332c67+c58e4b632d,g53246c7159+fcb1d3bbc8,g5a012ec0e7+ac98094cfc,g60b5630c4e+f5117f1d55,g67b6fd64d1+dd0349c22b,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g87b7deb4dc+2a1aa4536a,g8852436030+d21aad2af4,g89139ef638+dd0349c22b,g8d6b6b353c+f5117f1d55,g9125e01d80+fcb1d3bbc8,g989de1cb63+dd0349c22b,g9f33ca652e+0a580a37dd,g9f7030ddb1+ae84e0d5a5,ga2b97cdc51+f5117f1d55,gabe3b4be73+1e0a283bba,gb1101e3267+1d994e7598,gb58c049af0+f03b321e39,gb89ab40317+dd0349c22b,gcca6a94b71+4ed007ada1,gcf25f946ba+d21aad2af4,gd315a588df+9d9c5ccff1,gd6cbbdb0b4+75aa4b1db4,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+6fce216140,ge278dab8ac+c61fbefdff,ge410e46f29+dd0349c22b,ge82c20c137+e12a08b75a,gf67bdafdda+dd0349c22b,v28.0.2.rc1
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 |
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 |