35 #ifndef quadraticFitPolynomial_H
36 #define quadraticFitPolynomial_H
75 coeffs[curIdx++] = weight;
76 coeffs[curIdx++] = weight*d.
x();
77 coeffs[curIdx++] = weight*
sqr(d.
x());
81 coeffs[curIdx++] = weight*d.
y();
82 coeffs[curIdx++] = weight*d.
x()*d.
y();
83 coeffs[curIdx++] = weight*
sqr(d.
y());
87 coeffs[curIdx++] = weight*d.
z();
88 coeffs[curIdx++] = weight*d.
x()*d.
z();
89 coeffs[curIdx++] = weight*
sqr(d.
z());