Generic Core Provider<T> Class
Definition
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
public class GenericCoreProvider<T> : CoreProvider<T>,
IParallelized
- Inheritance
- Object → ImplementationProvider → CoreProvider<T> → GenericCoreProvider<T>
- Implements
- IParallelized
Type Parameters
- T
Remarks
The classes in the Numerics.NET.LinearAlgebra namespace use the standard Basic Linear Algebra Subroutines (BLAS) whenever possible. The Extreme Optimization Mathematics Library for .NET provides two implementations. One is in 100% managed code. The other calls a native, highly optimized, processor-specific kernel.
This class exposes properties that allow you to specify the BLAS objects that are to be used by the classes in this namespace.
You can select the managed implementation by calling the UseManaged() method. To select the native implementation, call the UseNative() method. The native kernel is used by default. This is the fastest option, especially for larger matrices, but also has a larger memory footprint.
Constructors
Generic | Constructs a new ManagedCoreProvider. |
Properties
Array |
Gets or sets the current implementation of array functions
for double-precision arguments.
(Overrides CoreProvider<T>.ArrayFunctions) |
Complex |
Gets or sets the current implementation of array functions
for double-precision arguments.
(Overrides CoreProvider<T>.ComplexArrayFunctions) |
Decomposition |
Gets the LAPACK implementation
for T-precision arguments.
(Overrides CoreProvider<T>.DecompositionOperations) |
Fft |
Gets or sets the current FFT provider implementation
for T-precision arguments.
(Overrides CoreProvider<T>.Fft) |
Has |
Indicates whether the degree of parallelism is a property that is shared
across instances.
(Overrides CoreProvider<T>.HasSharedDegreeOfParallelism) |
Linear |
Gets the implementation of the
BLAS for T-precision arguments.
(Overrides CoreProvider<T>.LinearAlgebraOperations) |
Max |
Gets or sets the maximum degree of parallelism enabled by this instance.
(Inherited from CoreProvider<T>) |
Parallel |
Gets an object that specifies how the calculations should be parallelized.
(Inherited from CoreProvider<T>) |
Sparse |
Gets the implementation of the sparse
BLAS for T-precision arguments.
(Overrides CoreProvider<T>.SparseLinearAlgebra) |
Methods
Add |
Adds the specified implementation to the provider's collection of implementations.
(Inherited from ImplementationProvider) |
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) |
Get |
Returns a sequence of all implementations of the specified type
supported by the provider.
(Overrides ImplementationProvider.GetAllImplementations<T>()) |
Get | Serves as the default hash function. (Inherited from Object) |
Get |
Returns an implementation of the specified type.
(Inherited from ImplementationProvider) |
Get | Gets the Type of the current instance. (Inherited from Object) |
Memberwise | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString | Returns a string that represents the current object. (Inherited from Object) |
With | Returns a provider with the specified maximum degree of parallelism. |