35 #ifndef biLinearFitPolynomial_H 36 #define biLinearFitPolynomial_H 75 coeffs[curIdx++] = weight;
76 coeffs[curIdx++] = weight*d.
x();
80 coeffs[curIdx++] = weight*d.
y();
81 coeffs[curIdx++] = weight*d.
x()*d.
y();
85 coeffs[curIdx++] = weight*d.
z();
86 coeffs[curIdx++] = weight*d.
x()*d.
z();
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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)