Sparse |
public class SparseMatrix
The SparseMatrix type exposes the following members.
Name | Description | |
---|---|---|
SparseMatrix(Int32, Int32) | Constructor for SparseMatrix class | |
SparseMatrix(Int32, Int32, Double, Int32, Int32) | Initializes a new instance of the SparseMatrix class |
Name | Description | |
---|---|---|
ColumnDimension | Get column dimension. | |
Count | ||
ItemInt32 | Accessor method for ith row | |
ItemInt32, Int32 | Accessor method for (i,j)th element | |
RowDimension | Get row dimension. |
Name | Description | |
---|---|---|
Copy | ||
DenseMatrix | Dense version of a sparse matrix | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Identity | Identity matrix in sparse form | |
IsLowerTriangular | Check if the current matrix is lower triangular | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
minus | Matrix subtraction for a sparse matrix | |
Mul | Matrix multiplication by a scalar | |
plus | Matrix addition for a sparse matrix | |
ScaleRow | Method to rescale a row of a Sparse Matrix | |
SolveGE | Gaussian elimination method for A*x=b with partial pivoting | |
SolveLower | Forward substitution routine for solving Lx = b, where L is a lower-triangular matrix | |
SwitchRows | Switch rows of a sparse matrix | |
times(Double) | Matrix multiplication by a scalar | |
times(SparseMatrix) | Matrix right multiplication by a matrix | |
times(Vector) | Matrix multiplication | |
timesRight | Matrix multiplication, y = v * A | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
Transpose | Tranpose of sparse matrix |
Name | Description | |
---|---|---|
Addition(SparseMatrix, SparseMatrix) | C = A + B | |
Multiply(SparseMatrix, SparseMatrix) | ||
Multiply(SparseMatrix, Vector) | Matrix multiplication | |
Multiply(SparseMatrix, Double) | Matrix multiplication by a scalar | |
Multiply(Vector, SparseMatrix) | Matrix multiplication | |
Subtraction(SparseMatrix, SparseMatrix) | Matrix subtraction for a sparse matrix |