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();
const Cmpt & z() const
Access to the vector z component.
const Cmpt & y() const
Access to the vector y component.
const Cmpt & x() const
Access to the vector x component.
Linear polynomial for interpolation fitting.
static void addCoeffs(scalar *coeffs, const vector &d, const scalar weight, const direction dim)
static label nTerms(const direction dim)