22#ifndef LSST_AFW_MATH_POLYNOMIALS_Chebyshev1Basis1d_h_INCLUDED
23#define LSST_AFW_MATH_POLYNOMIALS_Chebyshev1Basis1d_h_INCLUDED
29namespace 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; }
A Recurrence for Chebyshev polynomials of the first kind.
static double getB0(double x)
static double getB1(double x)
static double next(double x, std::size_t n, double current, double previous)
A basis for 1-d series expansions defined by a recurrence relation.
A 1-d basis that transforms all input points before evaluating nested basis.