RadialBasisFunctions.InverseQuadratic 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#
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

RadialBasisFunction
A 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

ArgumentOutOfRangeException Thrown when shape is not positive.

See Also