GenericSparseLinearAlgebraOperations<T> Class

Implements the sparse BLAS (Basic Linear Algebra Subroutines) for generic element types.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
C#
public class GenericSparseLinearAlgebraOperations<T> : SparseLinearAlgebraOperations<T>
Inheritance
Object  →  SparseLinearAlgebraOperations<T>  →  GenericSparseLinearAlgebraOperations<T>

Type Parameters

T
The element type of the arrays.

Constructors

Properties

HasSharedDegreeOfParallelism Indicates whether the degree of parallelism is a property that is shared across instances.
(Inherited from SparseLinearAlgebraOperations<T>)
ImplementedType Gets the base type of the implementation.
(Inherited from SparseLinearAlgebraOperations<T>)
MaxDegreeOfParallelism Gets or sets the maximum degree of parallelism enabled by the instance.
(Inherited from SparseLinearAlgebraOperations<T>)
Name Gets the name of the implementation.
(Overrides SparseLinearAlgebraOperations<T>.Name)
Platform Gets the processor architecture supported by the implementation.
(Overrides SparseLinearAlgebraOperations<T>.Platform)

Methods

DotProduct(Int32, ReadOnlySpan<T>, ReadOnlySpan<Int32>, Int32, ReadOnlySpan<T>, Int32) Returns the dot product of a sparse and a dense vector.
(Inherited from SparseLinearAlgebraOperations<T>)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Gather(Int32, Int32, ReadOnlySpan<T>, Int32, Span<T>, ReadOnlySpan<Int32>) Gathers specific elements of a dense vector into a sparse vector.
(Inherited from SparseLinearAlgebraOperations<T>)
GatherAndZero(Int32, Int32, Span<T>, Int32, Span<T>, ReadOnlySpan<Int32>) Gathers specific elements of a dense vector into a sparse vector and zeros the original components.
(Inherited from SparseLinearAlgebraOperations<T>)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<T>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<T>, Int32, T, Span<T>, Int32) Multiplies a dense vector by a sparse matrix in Compressed Sparse Column (CSC) format.
(Overrides SparseLinearAlgebraOperations<T>.MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<T>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<T>, Int32, T, Span<T>, Int32))
MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Complex<T>, Span<Complex<T>>, Int32) Multiplies a dense vector by a sparse matrix in Compressed Sparse Column (CSC) format.
(Overrides SparseLinearAlgebraOperations<T>.MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Complex<T>, Span<Complex<T>>, Int32))
MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<T>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<T>, Int32, T, Span<T>, Int32) Multiplies a dense matrix by a sparse matrix in Compressed Sparse Column (CSC) format.
(Overrides SparseLinearAlgebraOperations<T>.MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<T>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<T>, Int32, T, Span<T>, Int32))
MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Complex<T>, Span<Complex<T>>, Int32) Multiplies a dense matrix by a sparse matrix in Compressed Sparse Column (CSC) format.
(Overrides SparseLinearAlgebraOperations<T>.MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Complex<T>, Span<Complex<T>>, Int32))
ScaleAndAddInPlace(Int32, T, ReadOnlySpan<T>, ReadOnlySpan<Int32>, Int32, Span<T>, Int32) Evaluates a vector plus the product of a scalar and a sparse vector.
(Inherited from SparseLinearAlgebraOperations<T>)
ScaleAndAddInPlace(Int32, Complex<T>, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, Int32, Span<Complex<T>>, Int32) Evaluates a vector plus the product of a scalar and a sparse vector.
(Inherited from SparseLinearAlgebraOperations<T>)
Scatter(Int32, ReadOnlySpan<T>, ReadOnlySpan<Int32>, Int32, Span<T>, Int32) Copies the nonzero components of a sparse vector into the corresponding components of a dense vector.
(Inherited from SparseLinearAlgebraOperations<T>)
ToStringReturns a string that represents the current object.
(Inherited from Object)
TriangularSolve(TransposeOperation, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<T>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<T>, Int32, Span<T>, Int32) Solves for a dense vector for a sparse matrix in compressed sparse column format.
(Overrides SparseLinearAlgebraOperations<T>.TriangularSolve(TransposeOperation, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<T>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<T>, Int32, Span<T>, Int32))
TriangularSolve(TransposeOperation, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Span<Complex<T>>, Int32) Solves for a dense vector for a sparse matrix in compressed sparse column format.
(Overrides SparseLinearAlgebraOperations<T>.TriangularSolve(TransposeOperation, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Span<Complex<T>>, Int32))
TriangularSolve(TransposeOperation, Int32, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<T>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<T>, Int32, Span<T>, Int32) Solves for a dense vector for a sparse matrix in compressed sparse column format.
(Overrides SparseLinearAlgebraOperations<T>.TriangularSolve(TransposeOperation, Int32, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<T>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<T>, Int32, Span<T>, Int32))
TriangularSolve(TransposeOperation, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Span<Complex<T>>, Int32) Solves for a dense matrix for a sparse matrix in compressed sparse column format.
(Overrides SparseLinearAlgebraOperations<T>.TriangularSolve(TransposeOperation, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<T>>, Int32, Span<Complex<T>>, Int32))

See Also