xMean

Mean added back to zero-order evaluations.


Type

  • Class: double
  • Size: (1,1)

Description

Real valued property with no dimensions and no units.

Discussion

xMean is the additive term in the stored tensor-product model

\[f(x_1,\ldots,x_d) = x_{\mathrm{Mean}} + x_{\mathrm{Std}} \sum_{j_1,\ldots,j_d} \xi_{j_1,\ldots,j_d} \prod_{k=1}^{d} B_{j_k,S_k}(x_k;\tau_k).\]

It is mainly a numerical device: large offsets can be removed before solving for xi, then added back only during zero-order evaluation. As in the 1-D case, derivatives are unaffected by xMean.

  spline = TensorSpline.fromKnotPoints(knotPoints, xi, S=[3 3], xMean=2.1, xStd=0.4);
  values = spline(Xq, Yq);