25 #ifndef LSST_MEAS_ASTROM_DETAIL_polynomialUtils_h_INCLUDED 26 #define LSST_MEAS_ASTROM_DETAIL_polynomialUtils_h_INCLUDED 101 double operator()(
int n,
int k)
const {
return getMatrix()(n, k); }
104 static void extend(
int const n);
106 static Eigen::MatrixXd& getMatrix();
114 #endif // !LSST_MEAS_ASTROM_DETAIL_polynomialUtils_h_INCLUDED BinomialMatrix(int const nMax)
Construct an object that can compute binomial coefficients with up to and including the given value...
A class that computes binomial coefficients up to a certain power.
int computePackedSize(int order)
Compute this size of a packed 2-d polynomial coefficient array.
A base class for image defects.
int computePackedOffset(int order)
Compute the index of the first coefficient with the given order in a packed 2-d polynomial coefficien...
double operator()(int n, int k) const
Return the binomial coefficient.
void computePowers(Eigen::VectorXd &r, double x)
Fill an array with integer powers of x, so .