The following tables list the members exposed by CSparseMatrix.
| Name | Description | |
|---|---|---|
| CSparseMatrix Constructor | Overloaded. Creates a new instance of the CSparseMatrix class. |
| Name | Description | |
|---|---|---|
| Capacity | Gets or sets the number of elements that the internal storage of the sparse matrix can hold without resizing. Gets or sets the number of elements that the internal storage of the sparse matrix can hold without resizing. | |
| Cols | Gets or sets the number of sparse matrix columns. | |
| Data | This property is used while serializing and deserializing the CSparseMatrix and it is not intended to be used in user code. | |
| GrowFactor | Gets or sets the number by which the Capacity is multiplied whenever a greater internal storage for the matrix is needed. | |
| Hermitian | Indicates whether this instance represents a hermitian sparse matrix. | |
| Item | Gets or sets a single element of the sparse matrix. | |
| NumElements | Gets the number of elements contained in the internal storage of the sparse matrix. | |
| Rows | Gets or sets the number of sparse matrix rows. |
| Name | Description | |
|---|---|---|
| Add | Overloaded. Adds two complex sparse matrices. The operation is defined as: C=A+beta*op(B) | |
| Clone | Creates a deep copy of the current sparse matrix. | |
| Dispose | Releases all the resources used by the CSparseMatrix object. | |
| Equals | Returns a value indicating if this sparse matrix is equal to another sparse matrix. | |
| FillRandom | Overloaded. Fills a sparse matrix with random values. | |
| GetHashCode | Returns a hash code value that represents this object. | |
| GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the CSparseMatrix class. | |
| IsEqual | Overloaded. Returns a value indicating whether this instance of the CSparseMatrix object is equal to another instance. | |
| Multiply | Overloaded. Multiplies sparse matrices. | |
| Negate | Returns the negation of a sparse matrix. | |
| RemoveZeros | Overloaded. Removes all elements which are close to zero from the internal storage. | |
| Subtract | Subtracts a complex sparse matrix from another complex sparse matrix. | |
| ToDense | Converts the current instance to a dense matrix. | |
| ToString | Overloaded. Converts this instance of CSparseMatrix to a formatted string. | |
| Transpose | Returns the transpose of the sparse matrix. |
| Adds two sparse matrices. | |
| Tests whether two CSparseMatrix objects represent equal matrices. | |
| Tests whether two CSparseMatrix objects represent non equal matrices. | |
| Overloaded. Multiplies a sparse matrix. | |
| Subtracts a sparse matrix from another sparse matrix. | |
| Negates a matrix. | |
| Returns a copy of the sparse matrix. |