Click or drag to resize
DigitalRuneRadialBasisRegressionFBasisFunction Property
Gets or sets the basis function.

Namespace: DigitalRune.Mathematics.Interpolation
Assembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax
public Func<float, int, float> BasisFunction { get; set; }

Property Value

Type: FuncSingle, Int32, Single

The basis function. The first parameter is the distance of the new data point x to the reference data point xi, which has been computed by the distance function. The second parameter is the index i of the reference data point xi. (The second parameter is ignored by default. The same basis function is applied for all reference data points. However, the index could be used to select a unique basis function for each reference data point.)

The default function is the Gaussian function (see Gaussian(Single, Single, Single, Single)) with the parameters k = 1, μ = 0, σ = 1.

Exceptions
ExceptionCondition
ArgumentNullExceptionvalue is .
See Also