24 #ifndef LSST_MEAS_ASTROM_PolynomialTransform_INCLUDED 25 #define LSST_MEAS_ASTROM_PolynomialTransform_INCLUDED 27 #include "ndarray/eigen.h" 30 namespace lsst {
namespace meas {
namespace astrom {
32 class SipForwardTransform;
33 class SipReverseTransform;
34 class ScaledPolynomialTransform;
71 ndarray::Array<double const,2,0>
const & xCoeffs,
72 ndarray::Array<double const,2,0>
const & yCoeffs
107 int getOrder()
const {
return _xCoeffs.rows() - 1; }
115 ndarray::Array<double const,2,2>
getXCoeffs()
const {
return _xCoeffs.shallow(); }
123 ndarray::Array<double const,2,2>
getYCoeffs()
const {
return _yCoeffs.shallow(); }
146 ndarray::EigenView<double,2,2> _xCoeffs;
147 ndarray::EigenView<double,2,2> _yCoeffs;
148 mutable Eigen::VectorXd _u;
149 mutable Eigen::VectorXd _v;
257 #endif // !LSST_MEAS_ASTROM_PolynomialTransform_INCLUDED