ISparseLinearAlgebraOperations<T> Interface

Specifies the methods that must be implemented by a class to support basic linear algebra.

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public interface ISparseLinearAlgebraOperations<T> : IImplementation, 
	IParallelized
Implements
IParallelized, IImplementation

Type Parameters

T

Properties

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

Methods

DotProduct Returns the dot product of a sparse and a dense vector.
Gather Gathers specific elements of a dense vector into a sparse vector.
GatherAndZero Gathers specific elements of a dense vector into a sparse vector and zeros the original components.
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, 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.
ScaleAndAddInPlace Evaluates a vector plus the product of a scalar and a sparse vector.
Scatter Copies the nonzero components of a sparse vector into the corresponding components of a dense vector.
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, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, ReadOnlySpan<T>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<Int32>, ReadOnlySpan<T>, Int32, Span<T>, Int32) Solves for a dense matrix for a sparse matrix in compressed sparse column format.

See Also