bladex.ndinterpolator.RBF.multi_quadratic_biharmonic_spline

static RBF.multi_quadratic_biharmonic_spline(X, r)[source]

It implements the following formula:

\varphi(\| \boldsymbol{x} \|) =
\sqrt{\| \boldsymbol{x} \|^2 + r^2}

Parameters:
  • X (numpy.ndarray) – l2-norm between given inputs of a function and the locations to perform rbf approximation to that function.
  • r (float) – smoothing length, also called the cut-off radius.
Returns:

result: the result of the formula above.

Return type:

float