SparseLinearAlgebraOperations<T> Class

Represents operations on sparse real and complex matrices.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra.Implementation
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public abstract class SparseLinearAlgebraOperations<T> : ISparseLinearAlgebraOperations<T>, 
	IImplementation, IParallelized, 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, Array1D<T>, Array1D<Int32>, ArraySlice<T>) Returns the dot product of a sparse and a dense vector.
DotProduct(Int32, Array1D<Complex<T>>, Array1D<Int32>, ArraySlice<Complex<T>>) 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, ArraySlice<T>, Array1D<T>, Array1D<Int32>) Gathers specific elements of a dense vector into a sparse vector.
Gather(Int32, ArraySlice<Complex<T>>, Array1D<Complex<T>>, Array1D<Int32>) Gathers specific elements of a dense vector into a sparse vector.
GatherAndZero(Int32, ArraySlice<T>, Array1D<T>, Array1D<Int32>) Gathers specific elements of a dense vector into a sparse vector and zeros the original components.
GatherAndZero(Int32, ArraySlice<Complex<T>>, Array1D<Complex<T>>, Array1D<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, T[], Int32[], Int32[], Int32[], ArraySlice<T>, T, ArraySlice<T>) Multiplies a dense vector by a sparse matrix in Compressed Sparse Column (CSC) format.
MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, Complex<T>[], Int32[], Int32[], Int32[], ArraySlice<Complex<T>>, Complex<T>, ArraySlice<Complex<T>>) Multiplies a dense vector by a sparse matrix in compressed sparse column format.
MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, T[], Int32[], Int32[], Int32[], Array2D<T>, T, Array2D<T>) Multiplies a dense matrix by a sparse matrix in Compressed Sparse Column (CSC) format.
MultiplyAndAddInPlace(TransposeOperation, Int32, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, Complex<T>[], Int32[], Int32[], Int32[], Array2D<Complex<T>>, Complex<T>, Array2D<Complex<T>>) Multiplies a dense matrix by a sparse matrix in Compressed Sparse Column (CSC) format.
ScaleAndAddInPlace(Int32, T, Array1D<T>, Array1D<Int32>, ArraySlice<T>) Evaluates a vector plus the product of a scalar and a sparse vector.
ScaleAndAddInPlace(Int32, Complex<T>, Array1D<Complex<T>>, Array1D<Int32>, ArraySlice<Complex<T>>) Evaluates a vector plus the product of a scalar and a sparse vector.
Scatter(Int32, Array1D<T>, Array1D<Int32>, ArraySlice<T>) Copies the nonzero components of a sparse vector into the corresponding components of a dense vector.
Scatter(Int32, Array1D<Complex<T>>, Array1D<Int32>, ArraySlice<Complex<T>>) Copies the nonzero components of a sparse vector into the corresponding components of a dense vector.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TriangularSolve(TransposeOperation, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, T[], Int32[], Int32[], Int32[], ArraySlice<T>, ArraySlice<T>) Solves for a dense vector for a sparse matrix in compressed sparse column format.
TriangularSolve(TransposeOperation, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, Complex<T>[], Int32[], Int32[], Int32[], ArraySlice<Complex<T>>, ArraySlice<Complex<T>>) Solves for a dense vector for a sparse matrix in Compressed Sparse Column (CSC) format.
TriangularSolve(TransposeOperation, Int32, Int32, T, MatrixStructure, MatrixTriangle, MatrixDiagonal, T[], Int32[], Int32[], Int32[], Array2D<T>, Array2D<T>) Solves for a dense matrix for a sparse matrix in compressed sparse column format.
TriangularSolve(TransposeOperation, Int32, Int32, Complex<T>, MatrixStructure, MatrixTriangle, MatrixDiagonal, Complex<T>[], Int32[], Int32[], Int32[], Array2D<Complex<T>>, Array2D<Complex<T>>) Solves for a dense vector for a sparse matrix in compressed sparse column format.

See Also