SparseLinearAlgebraOperations Class

Represents operations on real and complex sparse vectors and matrices of double precision floating-point numbers.

Definition

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

Constructors

SparseLinearAlgebraOperationsInitializes a new instance of the SparseLinearAlgebraOperations class

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.
(Inherited from SparseLinearAlgebraOperations<T>)
Platform Gets the processor architecture supported by the implementation.
(Inherited from SparseLinearAlgebraOperations<T>)

Methods

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

See Also