IMLCV.tools._rbfinterp_pythran#
Module Contents#
Functions#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Evaluate RBFs, with centers at y, at the point x. |
|
Evaluate monomials, with exponents from powers, at the point x. |
|
Evaluate RBFs, with centers at x, at x. |
|
Evaluate monomials, with exponents from powers, at x. |
|
Return monomials, with exponents from powers, evaluated at x. |
|
Build the system used to solve for the RBF interpolant coefficients. |
|
Construct the coefficients needed to evaluate |
Attributes#
- IMLCV.tools._rbfinterp_pythran.cv_norm(x: IMLCV.base.CV.CV, y: IMLCV.base.CV.CV, metric: IMLCV.base.CV.CvMetric, eps)[source]#
- IMLCV.tools._rbfinterp_pythran.cv_vals(x: IMLCV.base.CV.CV, powers, metric: IMLCV.base.CV.CvMetric)[source]#
- IMLCV.tools._rbfinterp_pythran.kernel_vector(x: IMLCV.base.CV.CV, y: IMLCV.base.CV.CV, metric: IMLCV.base.CV.CvMetric, epsilon, kernel_func)[source]#
Evaluate RBFs, with centers at y, at the point x.
- IMLCV.tools._rbfinterp_pythran.polynomial_vector(x: IMLCV.base.CV.CV, powers, metric: IMLCV.base.CV.CvMetric)[source]#
Evaluate monomials, with exponents from powers, at the point x.
- IMLCV.tools._rbfinterp_pythran.kernel_matrix(x: IMLCV.base.CV.CV, metric: IMLCV.base.CV.CvMetric, eps, kernel_func)[source]#
Evaluate RBFs, with centers at x, at x.
- IMLCV.tools._rbfinterp_pythran.polynomial_matrix(x: IMLCV.base.CV.CV, metric: IMLCV.base.CV.CvMetric, powers)[source]#
Evaluate monomials, with exponents from powers, at x.
- IMLCV.tools._rbfinterp_pythran._polynomial_matrix(x: IMLCV.base.CV.CV, powers, metric)[source]#
Return monomials, with exponents from powers, evaluated at x.
- IMLCV.tools._rbfinterp_pythran._build_system(y: IMLCV.base.CV.CV, metric: IMLCV.base.CV.CvMetric, d, smoothing, kernel, epsilon, powers)[source]#
Build the system used to solve for the RBF interpolant coefficients.
- Parameters:
y ((P, N) float ndarray) – Data point coordinates.
d ((P, S) float ndarray) – Data values at y.
smoothing ((P,) float ndarray) – Smoothing parameter for each data point.
kernel (str) – Name of the RBF.
epsilon (float) – Shape parameter.
powers ((R, N) int ndarray) – The exponents for each monomial in the polynomial.
- Returns:
lhs ((P + R, P + R) float ndarray) – Left-hand side matrix.
rhs ((P + R, S) float ndarray) – Right-hand side matrix.
shift ((N,) float ndarray) – Domain shift used to create the polynomial matrix.
scale ((N,) float ndarray) – Domain scaling used to create the polynomial matrix.
- IMLCV.tools._rbfinterp_pythran._build_evaluation_coefficients(x: IMLCV.base.CV.CV, y: IMLCV.base.CV.CV, metric: IMLCV.base.CV.CvMetric, kernel, epsilon, powers)[source]#
Construct the coefficients needed to evaluate the RBF.
- Parameters:
x ((Q, N) float ndarray) – Evaluation point coordinates.
y ((P, N) float ndarray) – Data point coordinates.
kernel (str) – Name of the RBF.
epsilon (float) – Shape parameter.
powers ((R, N) int ndarray) – The exponents for each monomial in the polynomial.
shift ((N,) float ndarray) – Shifts the polynomial domain for numerical stability.
scale ((N,) float ndarray) – Scales the polynomial domain for numerical stability.
- Return type:
(Q, P + R) float ndarray