![]() | FloatCsrSparseMatrix Class |
Namespace: CenterSpace.NMath.Core
The FloatCsrSparseMatrix type exposes the following members.
Name | Description | |
---|---|---|
![]() | FloatCsrSparseMatrix |
Constructs an empty FloatCsrSparseMatrix.
|
![]() | FloatCsrSparseMatrix(CompressedSparseRowSingle) |
Constructs a FloatCSRSparseMat instance with the given data.
|
![]() | FloatCsrSparseMatrix(IDictionaryIntPair, Single, Int32) |
Constructs a FloatCSRSparseMat instance from the given coordinate
map format.
|
Name | Description | |
---|---|---|
![]() | Cols |
Gets the number of columns in the matrix.
(Inherited from SparseMatrixDataStorage, Type.) |
![]() | Data |
Gets and sets the formatted data for the matrix.
(Inherited from SparseMatrixDataStorage, Type.) |
![]() | Item |
Gets and sets the value at the given matrix position.
(Inherited from SparseMatrixDataStorage, Type.) |
![]() | Rows |
Gets the number of rows in the matrix.
(Inherited from SparseMatrixDataStorage, Type.) |
Name | Description | |
---|---|---|
![]() ![]() | Add(FloatCsrSparseMatrix, FloatCsrSparseMatrix) |
Compute the sum of two sparse matrices.
Performs the operation C = A + B, where
C[i,j] = A[i,j] + B[i,j].
|
![]() ![]() | Add(FloatCsrSparseMatrix, FloatCsrSparseMatrix, Single) |
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].
|
![]() | Clone |
Creates a deep copy of self.
|
![]() ![]() | Divide |
Divides a sparse matrix by a scalar.
|
![]() | Equals(Object) |
Equals function for Compressed Row (CSR) formatted sparse matrices.
(Overrides SparseMatrixDataStorage, TypeEquals(Object).) |
![]() | Equals(FloatCsrSparseMatrix) |
Equals function for Compressed Row (CSR) formatted sparse matrices.
|
![]() | GetHashCode |
Gets the hash code for this instance.
(Overrides SparseMatrixDataStorage, TypeGetHashCode.) |
![]() ![]() | Multiply(Single, FloatCsrSparseMatrix) |
Multiply a scalar and a sparse matrix.
|
![]() ![]() | Multiply(FloatCsrSparseMatrix, Single) |
Multiply a scalar and a sparse matrix.
|
![]() | Scale |
Scales each element in the matrix by the specified value.
|
![]() ![]() | Subtract |
Subtracts two sparse matrices.
|
![]() ![]() | ToCommaSeparated |
Returns a formatted string representation of this matrix using commas
and newlines.
(Inherited from SparseMatrixDataStorage, Type.) |
![]() ![]() | ToCommaSeparated(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.) |
![]() | ToDenseMatrix |
Converts this sparse matrix to a dense matrix.
|
![]() ![]() | ToString |
Returns a formatted string representation of this matrix.
(Inherited from SparseMatrixDataStorage, Type.) |
![]() ![]() | ToString(String) |
Returns a formatted string representation of this matrix. Numbers are displayed
using the specified format.
|
![]() ![]() | ToTabDelimited |
Returns a formatted string representation of this matrix using tabs
and newlines.
(Inherited from SparseMatrixDataStorage, Type.) |
![]() ![]() | ToTabDelimited(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.) |
![]() ![]() | TransposeAdd(FloatCsrSparseMatrix, FloatCsrSparseMatrix) |
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].
|
![]() ![]() | TransposeAdd(FloatCsrSparseMatrix, FloatCsrSparseMatrix, Single) |
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].
|
Name | Description | |
---|---|---|
![]() ![]() | Addition |
Adds two sparse matrices.
|
![]() ![]() | Division |
Divides a sparse matrix by a scalar.
|
![]() ![]() | Equality |
Equality operator for sparse matrices in compressed row (CSR) format.
|
![]() ![]() | Inequality |
Not equals operator for sparse matrices in compressed row (CSR) format.
|
![]() ![]() | Multiply(Single, FloatCsrSparseMatrix) |
Multiply a scalar and a sparse matrix.
|
![]() ![]() | Multiply(FloatCsrSparseMatrix, Single) |
Multiply a scalar and a sparse matrix.
|
![]() ![]() | Subtraction |
Subtracts two sparse matrices.
|
Name | Description | |
---|---|---|
![]() | data_ |
The matrix data.
(Inherited from SparseMatrixDataStorage, Type.) |