Radial Basis Functions.Inverse Quadratic Method
Creates an inverse quadratic radial basis function kernel:
φ(r) = 1 / (1 + (εr)²).
Definition
Namespace: Numerics.NET.Curves
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
C#
A RadialBasisFunction representing the inverse quadratic kernel.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.1.0
public static RadialBasisFunction InverseQuadratic(
double shape
)Parameters
- shape Double
- The shape parameter ε. Must be positive. Smaller values produce broader, flatter basis functions; larger values concentrate the influence near the center.
Return Value
RadialBasisFunctionA RadialBasisFunction representing the inverse quadratic kernel.
Remarks
The inverse quadratic kernel is smooth, decays to zero as r increases, and has finite value at the origin: φ(0) = 1. Its derivative is φ'(r) = -2 ε² r / (1 + (εr)²)², which is zero at r = 0 and changes sign as r increases.
This kernel is often used for interpolation and smoothing problems where a compactly decaying influence is preferred without requiring a compact support truncation.
Exceptions
| Argument | Thrown when shape is not positive. |