ManagedSparseLinearAlgebraOperations Class

Contains the managed implementation of the sparse BLAS routines.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public class ManagedSparseLinearAlgebraOperations : SparseLinearAlgebraOperations
Inheritance
Object  →  SparseLinearAlgebraOperations<Double>  →  SparseLinearAlgebraOperations  →  ManagedSparseLinearAlgebraOperations

Constructors

ManagedSparseLinearAlgebraOperations Constructs a new ManagedSparseLinearAlgebraOperations object.

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<Complex<Double>>, ReadOnlySpan<Int32>, Int32, ReadOnlySpan<Complex<Double>>, Int32) Returns the dot product of a sparse and a dense vector.
(Inherited from SparseLinearAlgebraOperations)
DotProduct(Int32, ReadOnlySpan<Double>, ReadOnlySpan<Int32>, Int32, ReadOnlySpan<Double>, Int32) Returns the dot product of a sparse and a dense vector.
(Inherited from SparseLinearAlgebraOperations)
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, Complex<Double>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<Double>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<Double>>, Int32, Complex<Double>, Span<Complex<Double>>, 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, Double, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Double>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Double>, Int32, Double, Span<Double>, 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, Int32, Complex<Double>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<Double>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<Double>>, Int32, Complex<Double>, Span<Complex<Double>>, 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))
MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Int32, Double, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Double>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Double>, Int32, Double, Span<Double>, Int32) Multiplies a dense matrix by a sparse matrix in Compressed Sparse Column (CSC) format.
(Overrides SparseLinearAlgebraOperations.MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Int32, Double, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Double>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Double>, Int32, Double, Span<Double>, Int32))
ScaleAndAddInPlace(Int32, Complex<Double>, ReadOnlySpan<Complex<Double>>, ReadOnlySpan<Int32>, Int32, Span<Complex<Double>>, Int32) Evaluates a vector plus the product of a scalar and a sparse vector.
(Inherited from SparseLinearAlgebraOperations)
ScaleAndAddInPlace(Int32, Double, ReadOnlySpan<Double>, ReadOnlySpan<Int32>, Int32, Span<Double>, Int32) Evaluates a vector plus the product of a scalar and a sparse vector.
(Inherited from SparseLinearAlgebraOperations)
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, Complex<Double>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<Double>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<Double>>, Int32, Span<Complex<Double>>, 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, Double, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Double>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Double>, Int32, Span<Double>, 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, Int32, Complex<Double>, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Complex<Double>>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Complex<Double>>, Int32, Span<Complex<Double>>, 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))
TriangularSolve(TransposeOperation, Int32, Int32, Double, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<Double>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Double>, Int32, Span<Double>, 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))

See Also