Click or drag to resize

SparseMatrix Class

Sparse matrix class
Inheritance Hierarchy
SystemObject
  Altaxo.Calc.Ode.ObsoleteSparseMatrix

Namespace: Altaxo.Calc.Ode.Obsolete
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public class SparseMatrix

The SparseMatrix type exposes the following members.

Constructors
 NameDescription
Public methodSparseMatrix(Int32, Int32)Constructor for SparseMatrix class
Public methodSparseMatrix(Int32, Int32, Double, Int32, Int32)Initializes a new instance of the SparseMatrix class
Top
Properties
 NameDescription
Public propertyColumnDimensionGet column dimension.
Public propertyCount 
Public propertyItemInt32Accessor method for ith row
Public propertyItemInt32, Int32Accessor method for (i,j)th element
Public propertyRowDimensionGet row dimension.
Top
Methods
 NameDescription
Public methodCopy 
Public methodDenseMatrixDense version of a sparse matrix
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStatic memberIdentityIdentity matrix in sparse form
Public methodIsLowerTriangular Check if the current matrix is lower triangular
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodminusMatrix subtraction for a sparse matrix
Public methodMulMatrix multiplication by a scalar
Public methodplusMatrix addition for a sparse matrix
Public methodScaleRowMethod to rescale a row of a Sparse Matrix
Public methodSolveGEGaussian elimination method for A*x=b with partial pivoting
Public methodSolveLowerForward substitution routine for solving Lx = b, where L is a lower-triangular matrix
Public methodSwitchRowsSwitch rows of a sparse matrix
Public methodtimes(Double)Matrix multiplication by a scalar
Public methodtimes(SparseMatrix)Matrix right multiplication by a matrix
Public methodtimes(Vector)Matrix multiplication
Public methodtimesRightMatrix multiplication, y = v * A
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTransposeTranpose of sparse matrix
Top
Operators
 NameDescription
Public operatorStatic memberAddition(SparseMatrix, SparseMatrix)C = A + B
Public operatorStatic memberMultiply(SparseMatrix, SparseMatrix) 
Public operatorStatic memberMultiply(SparseMatrix, Vector)Matrix multiplication
Public operatorStatic memberMultiply(SparseMatrix, Double)Matrix multiplication by a scalar
Public operatorStatic memberMultiply(Vector, SparseMatrix)Matrix multiplication
Public operatorStatic memberSubtraction(SparseMatrix, SparseMatrix)Matrix subtraction for a sparse matrix
Top
See Also