SparseLinearAlgebraOperations<T> Class

Represents operations on sparse real and complex matrices.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public abstract class SparseLinearAlgebraOperations<T> : IImplementation, 
	IParallelized, ISparseLinearAlgebraOperations<T>, ISparseLinearAlgebraOperations<Complex<T>>
Inheritance
Object  →  SparseLinearAlgebraOperations<T>
Derived
Implements
IParallelized, ISparseLinearAlgebraOperations<T>, ISparseLinearAlgebraOperations<Complex<T>>, IImplementation

Type Parameters

T

Constructors

SparseLinearAlgebraOperations<T>Initializes a new instance of the SparseLinearAlgebraOperations<T> class

Properties

HasSharedDegreeOfParallelism Indicates whether the degree of parallelism is a property that is shared across instances.
ImplementedType Gets the base type of the implementation.
MaxDegreeOfParallelism Gets or sets the maximum degree of parallelism enabled by the instance.
Name Gets the name of the implementation.
Platform Gets the processor architecture supported by the implementation.

Methods

DotProduct(Int32, ReadOnlySpan<T>, ReadOnlySpan<Int32>, Int32, ReadOnlySpan<T>, Int32) Returns the dot product of a sparse and a dense vector.
DotProduct(Int32, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, Int32, ReadOnlySpan<Complex<T>>, Int32) Returns the dot product of a sparse and a dense vector.
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.
Gather(Int32, Int32, ReadOnlySpan<Complex<T>>, Int32, Span<Complex<T>>, ReadOnlySpan<Int32>) Gathers specific elements of a dense vector into a sparse vector.
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.
GatherAndZero(Int32, Int32, Span<Complex<T>>, Int32, Span<Complex<T>>, ReadOnlySpan<Int32>) Gathers specific elements of a dense vector into a sparse vector and zeros the original components.
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.
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.
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.
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.
ScaleAndAddInPlace(Int32, T, ReadOnlySpan<T>, ReadOnlySpan<Int32>, Int32, Span<T>, Int32) Evaluates a vector plus the product of a scalar and a sparse vector.
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.
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.
Scatter(Int32, ReadOnlySpan<Complex<T>>, ReadOnlySpan<Int32>, Int32, Span<Complex<T>>, Int32) Evaluates a vector plus the product of a scalar and a sparse vector.
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.
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.
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.
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.

See Also