Encapsulates the currently active BLAS implementation.
SystemObject ProviderManagerSingleLinearAlgebraProvider,
SingleManagedLinearAlgebraProvider Extreme.Mathematics.LinearAlgebraSingleKernel
Namespace: Extreme.Mathematics.LinearAlgebraAssembly: Extreme.Numerics.Version4x.Net40 (in Extreme.Numerics.Version4x.Net40.dll) Version: 4.2.11333.0 (5.0.12317.0)
public class SingleKernel : ProviderManager<SingleLinearAlgebraProvider, SingleManagedLinearAlgebraProvider>
Public Class SingleKernel
Inherits ProviderManager(Of SingleLinearAlgebraProvider, SingleManagedLinearAlgebraProvider)
public ref class SingleKernel : public ProviderManager<SingleLinearAlgebraProvider^, SingleManagedLinearAlgebraProvider^>
type SingleKernel =
class
inherit ProviderManager<SingleLinearAlgebraProvider, SingleManagedLinearAlgebraProvider>
end
The SingleKernel type exposes the following members.
Top
| Name | Description |
---|
 | 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.) |
 | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
 | ToString | Returns a string that represents the current object. (Inherited from Object.) |
  | UseFromAssembly |
Instructs the library to use a custom BLAS implementation contained in a .NET assembly.
|
  | UseHybrid |
Instructs the library to use a hybrid of the managed and default native BLAS implementation.
|
  | UseHybrid(SingleLinearAlgebraProvider) |
Instructs the library to use the managed and the specified native BLAS implementation.
|
  | UseManaged |
Instructs the library to use the managed BLAS implementation.
|
  | UseNative |
Instructs the library to use the native BLAS implementation.
|
  | UseProvider | |
Top
The classes in the
Extreme.Mathematics.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 static 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.
Alternatively, you can plug in platform optimized versions
by inheriting from the BlasLevel1,
BlasLevel2, and
BlasLevel3 abstract
base classes.
You can then supply an instance of your class or classes as parameters to the
[!:UseCustom] method.
Numerical Libraries
Supported in: 5.x, 4.x
Reference