|
KernelFunctionCacheTKernel, TInputGetOrCompute Method (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 GetOrCompute(
int i
)
Public Function GetOrCompute (
i As Integer
) As Double
Request Example
View SourceParameters
- i
- Type: SystemInt32
Index of the point to compute.
Return Value
Type:
DoubleRemarks The result of the kernel function k(p[i], p[i]).
See Also