KernelFunctionCache Methods |
The KernelFunctionCache type exposes the following members.
Name | Description | |
---|---|---|
Clear |
Clears the cache.
(Inherited from KernelFunctionCacheTKernel, TInput.) | |
Dispose |
Disposes this instance.
(Inherited from KernelFunctionCacheTKernel, TInput.) | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Inherited from KernelFunctionCacheTKernel, TInput.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDataCache |
Gets a copy of the data cache.
(Inherited from KernelFunctionCacheTKernel, TInput.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetKeyFromIndex |
Gets the key from the given indices.
(Inherited from KernelFunctionCacheTKernel, TInput.) | |
GetLeastRecentlyUsedList |
Gets a copy of the Least Recently Used (LRU) List of
Kernel Matrix elements. Elements on the start of the
list have been used most; elements at the end are
about to be discarded from the cache.
(Inherited from KernelFunctionCacheTKernel, TInput.) | |
GetNumberOfRowsForMaximumSizeInBytes |
Gets the maximum number of rows that a cache can keep inside the given amount of bytes.
This value can be used to initialize SequentialMinimalOptimization's CacheSize property,
or be passed to KernelFunctionCache constructor.
| |
GetNumberOfRowsForMaximumSizeInGigaBytes |
Gets the maximum number of rows that a cache can keep inside the given amount of bytes.
This value can be used to initialize SequentialMinimalOptimization's CacheSize property,
or be passed to KernelFunctionCache constructor.
| |
GetNumberOfRowsForMaximumSizeInMegaBytes |
Gets the maximum number of rows that a cache can keep inside the given amount of bytes.
This value can be used to initialize SequentialMinimalOptimization's CacheSize property,
or be passed to KernelFunctionCache constructor.
| |
GetOrCompute(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.
(Inherited from KernelFunctionCacheTKernel, TInput.) | |
GetOrCompute(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.
(Inherited from KernelFunctionCacheTKernel, TInput.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reset |
Resets cache statistics.
(Inherited from KernelFunctionCacheTKernel, TInput.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |