22 #ifndef LSST_AFW_MATH_POLYNOMIALS_Chebyshev1Basis1d_h_INCLUDED 23 #define LSST_AFW_MATH_POLYNOMIALS_Chebyshev1Basis1d_h_INCLUDED 29 namespace lsst {
namespace geom {
namespace polynomials {
39 static double getB0(
double x) {
return 1; }
41 static double getB1(
double x) {
return x; }
43 static double next(
double x,
std::size_t n,
double current,
double previous) {
return 2*x*current - previous; }
55 #endif // !LSST_AFW_MATH_POLYNOMIALS_Chebyshev1Basis1d_h_INCLUDED A 1-d basis that transforms all input points before evaluating nested basis.
A base class for image defects.
static double next(double x, std::size_t n, double current, double previous)
static double getB0(double x)
static double getB1(double x)
A Recurrence for Chebyshev polynomials of the first kind.
A basis for 1-d series expansions defined by a recurrence relation.