![]() | Sparse |
[SerializableAttribute] public class SparseMatrixData<Storage, Type> where Storage : new(), Object, ISparseMatrixStorage<Type>
The SparseMatrixDataStorage, Type type exposes the following members.
Name | Description | |
---|---|---|
![]() | SparseMatrixDataStorage, Type | Constructs an empty SparseMatrixData instance. |
![]() | SparseMatrixDataStorage, Type(Storage) | Constructs a SparseMatrixData instance with the given data. |
![]() | SparseMatrixDataStorage, Type(IDictionaryIntPair, Type, Int32) | Constructs a SparseMatrixData instance from the given coordinate map format. |
![]() | SparseMatrixDataStorage, Type(IDictionaryIntPair, Type, Int32, Int32) | Constructs a SparseMatrixData instance from the given coordinate map format. |
Name | Description | |
---|---|---|
![]() | Cols | Gets the number of columns in the matrix. |
![]() | Data | Gets and sets the formatted data for the matrix. |
![]() | Item | Gets and sets the value at the given matrix position. |
![]() | Rows | Gets the number of rows in the matrix. |
Name | Description | |
---|---|---|
![]() | Equals |
Equality function for general sparse matrices.
(Overrides ObjectEquals(Object)) |
![]() | GetHashCode |
Gets the hash code for this instance.
(Overrides ObjectGetHashCode) |
![]() ![]() | ToCommaSeparated | Returns a formatted string representation of this matrix using commas and newlines. |
![]() ![]() | ToCommaSeparated(String) | Returns a formatted string representation of this matrix using commas and newlines. Numbers are formatted using the specified format string. |
![]() ![]() | ToString |
Returns a formatted string representation of this matrix.
(Overrides ObjectToString) |
![]() ![]() | 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. |
![]() ![]() | ToTabDelimited(String) | Returns a formatted string representation of this matrix using tabs and newlines. Numbers are formatted using the specified format string. |