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