37 #ifndef linearFitPolynomial_H 38 #define linearFitPolynomial_H 77 coeffs[curIdx++] = weight;
78 coeffs[curIdx++] = weight*d.x();
82 coeffs[curIdx++] = weight*d.y();
86 coeffs[curIdx++] = weight*d.z();
static void addCoeffs(scalar *coeffs, const vector &d, const scalar weight, const direction dim)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Linear polynomial for interpolation fitting.
static label nTerms(const direction dim)