lsst.geom
21.0.0-2-g8f08a60+4fac22bdb7
|
Go to the documentation of this file.
22 #ifndef LSST_AFW_MATH_POLYNOMIALS_Basis1d_h_INCLUDED
23 #define LSST_AFW_MATH_POLYNOMIALS_Basis1d_h_INCLUDED
26 namespace lsst {
namespace geom {
namespace polynomials {
83 template <
typename Vector>
84 double sumWith(
double x, Vector
const & coefficients)
const;
100 template <
typename Vector>
101 void fill(
double x, Vector && basis)
const;
108 #endif // !LSST_AFW_MATH_POLYNOMIALS_Basis1d_h_INCLUDED
void fill(double x, Vector &&basis) const
Evaluate the basis at a given point.
A 1-d affine transform that can be used to map one interval to another.
std::size_t getOrder() const
Return the order of the basis.
Scaled scaled(Scaling1d const &scaling) const
Return a scaled basis that delegates to a copy of this.
double sumWith(double x, Vector const &coefficients) const
Evaluate a basis expansion with the given coefficients.
std::size_t size() const
Return the number of elements in the basis.
... Scaled
The type returned by scale().
... Function
A Function1d object that uses this basis.
A basis interface for 1-d series expansions.