Click or drag to resize
Accord.NET (logo)

KernelFunctionCacheTKernel, TInputItem Property (Int32, Int32)

Attempts to retrieve the kernel function evaluated between point at index i and j. If it is not cached, it will be computed and the cache will be updated.

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

Parameters

i
Type: SystemInt32
The index of the first point p to compute.
j
Type: SystemInt32
The index of the second point p to compute.

Property Value

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