Click or drag to resize

DoubleCsrSparseMatrix Methods

The DoubleCsrSparseMatrix type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAdd(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix) Compute the sum of two sparse matrices. Performs the operation C = A + B, where C[i,j] = A[i,j] + B[i,j].
Public methodStatic memberAdd(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix, Double) Computes the some of a sparse matrix with the scalar multiple of another. Performs the operation C = A + beta*B where C[i,j] = A[i,j] + beta*B[i,j].
Public methodClone Creates a deep copy of self.
Public methodStatic memberDivide Divides a sparse matrix by a scalar.
Public methodEquals(DoubleCsrSparseMatrix) Equals function for Compressed Row (CSR) formatted sparse matrices.
Public methodEquals(Object) Equals function for Compressed Row (CSR) formatted sparse matrices.
(Overrides SparseMatrixDataStorage, TypeEquals(Object))
Public methodGetHashCode Gets the hash code for this instance.
(Overrides SparseMatrixDataStorage, TypeGetHashCode)
Public methodStatic memberMultiply(Double, DoubleCsrSparseMatrix) Multiply a scalar and a sparse matrix.
Public methodStatic memberMultiply(DoubleCsrSparseMatrix, Double) Multiply a scalar and a sparse matrix.
Public methodScale Scales each element in the matrix by the specified value.
Public methodStatic memberSubtract Subtracts two sparse matrices.
Public methodCode exampleToCommaSeparated Returns a formatted string representation of this matrix using commas and newlines.
(Inherited from SparseMatrixDataStorage, Type)
Public methodCode exampleToCommaSeparated(String) Returns a formatted string representation of this matrix using commas and newlines. Numbers are formatted using the specified format string.
(Inherited from SparseMatrixDataStorage, Type)
Public methodToDenseMatrix Converts this sparse matrix to a dense matrix.
Public methodCode exampleToString Returns a formatted string representation of this matrix.
(Inherited from SparseMatrixDataStorage, Type)
Public methodCode exampleToString(String) Returns a formatted string representation of this matrix. Numbers are displayed using the specified format.
(Inherited from SparseMatrixDataStorage, Type)
Public methodCode exampleToTabDelimited Returns a formatted string representation of this matrix using tabs and newlines.
(Inherited from SparseMatrixDataStorage, Type)
Public methodCode exampleToTabDelimited(String) Returns a formatted string representation of this matrix using tabs and newlines. Numbers are formatted using the specified format string.
(Inherited from SparseMatrixDataStorage, Type)
Public methodStatic memberTransposeAdd(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix) Computes the sum of the transpose of one sparse matrix with another sparse matrix. Performs the operation C = A' + B, where ' denotes transpose and C[i,j] = A[j,i] + B[i,j].
Public methodStatic memberTransposeAdd(DoubleCsrSparseMatrix, DoubleCsrSparseMatrix, Double) Computes the sum of the transpose of one sparse matrix with a scalar multiple another sparse matrix. Performs the operation C = A' + beta*B, where ' denotes transpose and C[i,j] = A[j,i] + B[i,j].
Top
See Also