Kernel Density Estimate.Evaluate Grid Method
Evaluates the fitted density on an equally spaced grid.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
Explicit coordinates, density values and fit metadata. Both result vectors are caller-owned.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public KernelDensityGrid EvaluateGrid(
KernelDensityGridOptions? options = null
)Parameters
- options KernelDensityGridOptions (Optional)
- Grid settings, or null for 512 points and three adjusted bandwidths of padding.
Return Value
KernelDensityGridExplicit coordinates, density values and fit metadata. Both result vectors are caller-owned.
Remarks
Grid bounds affect evaluation only. Density values are not renormalized over the grid.
Direct evaluation is the default. Non-null FftOptions explicitly requests
a Gaussian FFT approximation, with resolution, truncation and workspace controls. No fallback is performed.
Exceptions
| Not | FFT controls are supplied for a kernel other than the built-in Gaussian kernel. |
| Argument | The resolved bounds do not have a finite positive difference, the requested coordinates cannot be represented as distinct values, or FFT geometry exceeds the workspace limit or representable resolution. |