LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef LSST_AFW_MATH_POLYNOMIALS_Basis2d_h_INCLUDED
23 #define LSST_AFW_MATH_POLYNOMIALS_Basis2d_h_INCLUDED
26 namespace lsst {
namespace geom {
namespace polynomials {
36 template <
typename Basis1d>
79 template <
typename Vector>
83 template <
typename Vector>
93 template <
typename Vector>
97 template <
typename Vector>
107 #endif // !LSST_AFW_MATH_POLYNOMIALS_Basis2d_h_INCLUDED
A 2-d separable affine transform that can be used to map one interval to another.
double sumWith(geom::Point2D const &point, Vector const &coefficients) const
Evaluate a basis expansion with the given coefficients.
ndarray::Array< double const, 2, 2 > coefficients
double sumWith(geom::Point2D const &point, Vector const &coefficients, Workspace &workspace) const
Evaluate a basis expansion with the given coefficients (external workspace version).
void fill(geom::Point2D const &point, Vector &&basis, Workspace &workspace) const
Evaluate the basis at a given point (external workspace version).
... Scaled
The type returned by scale().
Eigen::Matrix< Scalar, Eigen::Dynamic, 1 > Vector
std::size_t size() const
Return the number of basis functions.
table::Key< table::Array< double > > basis
... Function
A Function2d object that uses this basis.
A base class for image defects.
A basis interface for 2-d series expansions.
void fill(geom::Point2D const &point, Vector &&basis) const
Evaluate the basis at a given point.
std::size_t getOrder() const
Return the maximum order of the basis.
Scaled scaled(Scaling2d const &first) const
Return a scaled basis that delegates to a copy of this.
A basis interface for 1-d series expansions.
Workspace makeWorkspace() const
Allocate workspace that can be passed to sumWith() and fill() to avoid repeated memory allocations.
... Workspace
The type returned by makeWorkspace().