22 #ifndef ASTSHIM_QUADAPPROX_H 23 #define ASTSHIM_QUADAPPROX_H 73 int nx = 3,
int ny = 3);
QuadApprox(Mapping const &map, std::vector< double > const &lbnd, std::vector< double > const &ubnd, int nx=3, int ny=3)
Obtain a quadratic approximation to a 2D Mapping.
QuadApprox & operator=(QuadApprox const &)=default
AST wrapper classes and functions.
An abstract base class for objects which transform one set of coordinates to another.
std::vector< double > fit
A vector of coefficients of the quadratic approximation to the specified transformation.
A quadratic approximation to a 2D Mapping.
double rms
The RMS residual between the fit and the Mapping, summed over all Mapping outputs.