37 #ifndef quadraticFitPolynomial_H
38 #define quadraticFitPolynomial_H
77 coeffs[curIdx++] = weight;
78 coeffs[curIdx++] = weight*d.
x();
79 coeffs[curIdx++] = weight*
sqr(d.
x());
83 coeffs[curIdx++] = weight*d.
y();
84 coeffs[curIdx++] = weight*d.
x()*d.
y();
85 coeffs[curIdx++] = weight*
sqr(d.
y());
89 coeffs[curIdx++] = weight*d.
z();
90 coeffs[curIdx++] = weight*d.
x()*d.
z();
91 coeffs[curIdx++] = weight*
sqr(d.
z());