Click or drag to resize
Accord.NET (logo)

KernelFunctionCacheTKernel, TInputItem Property (Int32)

Attempts to retrieve the value of the kernel function from the diagonal of the kernel matrix. If the value is not available, it is immediately computed and inserted in the cache.

Namespace:  Accord.Statistics.Kernels
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double this[
	int i
] { get; }
Request Example View Source

Parameters

i
Type: SystemInt32
Index of the point to compute.

Property Value

Type: Double
Remarks
The result of the kernel function k(p[i], p[i]).
See Also