Kernel interpolation¶
Before differentiating or solving a PDE, construct a function that matches sampled values. Given distinct centers \(X=\{x_j\}_{j=1}^N\) and data \(d_j\), use
The first term supplies radial kernel translates. The polynomial term makes low-degree polynomial reproduction explicit. Neither \(a_j\) nor \(b_m\) is a nodal value.
Derive the augmented system¶
Impose \(s(x_j)=d_j\) and the side conditions \(\sum_j a_jp_m(x_j)=0\). Define
Then
There are \(N+Q\) equations for \(N+Q\) coefficients. The lower equations constrain the kernel coefficients; they are not extra observations of \(u\). Without polynomial augmentation, omit the polynomial blocks.
If \(d_j=p(x_j)\) for \(p\in\Pi_q\), the choice \(a=0\) and the coefficients of \(p\) solves the system. When \(H\) is nonsingular, uniqueness therefore gives \(s=p\): polynomial reproduction.
For conditionally positive definite kernels, the kernel's conventional CPD polynomial space and polynomial unisolvency matter to the standard solvability results. Unisolvency means \(P\) has full column rank: the only polynomial in \(\Pi_q\) vanishing at all centers is zero. Having \(N\ge Q\) is necessary, but not sufficient. RBFLAB permits explicitly requested degrees below the conventional CPD minimum; the standard CPD guarantee then does not apply, and solvability must be diagnosed for the selected system. A symmetric augmented matrix can be indefinite even when the kernel block is positive definite.
Kernel parameters in RBFLAB¶
| Kernel | Convention | Main choices |
|---|---|---|
| IMQ | \(\phi(r)=(1+c r^2)^{-1/2}\) | \(c>0\); equivalent to shape \(\varepsilon=\sqrt c\) |
| Odd PHS | \(\phi(r)=(-1)^{(m+1)/2}r^m\) | Power \(m\), polynomial degree \(q\); PHS5 is \(-r^5\) |
| Hybrid | Weighted sum of constituent kernels | Every component parameter and mixing coefficient |
| Wendland | A validated compact-support radial function | Smoothness, dimension, support radius |
Do not identify the PHS power with an automatic convergence order. Accuracy also depends on polynomial degree, differentiation order, smoothness, cloud geometry, and stability. Kernel support radius, stencil radius, and point spacing are different quantities.
Differentiate the interpolant¶
For a linear differential operator \(\mathcal D\), differentiate the basis functions:
Coincident centers require the correct derivative limits at \(r=0\). An arbitrary replacement \(r\mapsto10^{-k}\) changes the operator. Sufficient derivative regularity is especially important in Hermite systems, which differentiate both kernel arguments.
The next two routes are global PDE collocation and eliminating coefficients to obtain local weights.
Try it: interpolation and derivatives. Background: Fornberg & Flyer, Flyer et al., and Wendland's compact kernels.