bladex.ndinterpolator.RBF.weights_matrix

RBF.weights_matrix(X1, X2)[source]

This method returns the following matrix:

\boldsymbol{D_{ij}} = \varphi(\| \boldsymbol{x_i} -
\boldsymbol{y_j} \|)

Parameters:
Returns:

matrix: the matrix D.

Return type:

numpy.ndarray