KernelDensityOptions.Fixed Method

Creates options with a supplied bandwidth.

Definition

Namespace: Numerics.NET.Statistics.KernelDensityEstimation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
public static KernelDensityOptions Fixed(
	double bandwidth,
	Kernel? kernel = null,
	double bandwidthAdjustment = 1
)

Parameters

bandwidth  Double
The finite positive bandwidth before adjustment, in fitting-coordinate units (transformed units for transformed fitting).
kernel  Kernel  (Optional)
The kernel, or null to use the Gaussian kernel.
bandwidthAdjustment  Double  (Optional)
A finite positive multiplier for the supplied bandwidth. The default is 1.

Return Value

KernelDensityOptions
Immutable fixed bandwidth options.

Exceptions

ArgumentOutOfRangeExceptionThe bandwidth, adjustment or their product is not finite and positive.

See Also