24#ifndef LSST_MEAS_MODELFIT_DETAIL_polynomials_h_INCLUDED
25#define LSST_MEAS_MODELFIT_DETAIL_polynomials_h_INCLUDED
29namespace lsst {
namespace meas {
namespace modelfit {
namespace detail {
61Eigen::Vector4d
solveRampPoly(
double v0,
double v1,
double x0,
double x1,
double s0,
double s1);
Class that computes rows of the Vandermonde matrix and related matrices; the dot product of these row...
static RowVector differentiate1(double x)
Return a row vector whose product with a polynomial coefficient vector evaluates the first derivative...
static RowVector eval(double x)
Return a row vector that product with a polynomial coefficient vector[ evaluates the polynomial at x.
static RowVector moment(double x0, double x1, int m=0)
Return a row vector whose product with a polynomial coefficient vector computes the integral of p(x) ...
Eigen::Matrix< double, 1, N > RowVector
static RowVector differentiate2(double x)
Return a row vector whose product with a polynomial coefficient vector evaluates the second derivativ...
Eigen::Vector4d solveRampPoly(double v0, double v1, double x0, double x1, double s0, double s1)
Solve for the coefficients of a cubic polynomial p(x) that goes from p(x0)=v0 to p(x1)=v1,...