The DoubleSymCsrSparseMatrix type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DoubleSymCsrSparseMatrix()()()() |
Constructs an empty DoubleSymCsrSparseMatrix instance.
| |
| DoubleSymCsrSparseMatrix(CompressedSparseRow<(Of <<'(Double>)>>)) |
Constructs a DoubleSymCsrSparseMatrix instance with the given data. Only the
upper triangular part of the data will be referenced.
| |
| DoubleSymCsrSparseMatrix(IDictionary<(Of <<'(IntPair, Double>)>>), Int32) |
Constructs a DoubleSymCsrSparseMatrix instance from the given coordinate
map format. Only the upper triangular, column greater than or equal to row,
values will be referenced.
|
Methods
| Name | Description | |
|---|---|---|
| Add(DoubleSymCsrSparseMatrix, DoubleSymCsrSparseMatrix) |
Compute the sum of two symmetric sparse matrices.
Performs the operation C = A + B, where
C[i,j] = A[i,j] + B[i,j].
| |
| Add(DoubleSymCsrSparseMatrix, DoubleSymCsrSparseMatrix, Double) |
Computes the some of a symmetric 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 |
Returns a deep copy of self.
(Overrides DoubleCsrSparseMatrix..::..Clone()()()().) | |
| Equals(Object) |
Equals function for DoubleSymCsrSparseMatrix matrices.
(Overrides DoubleCsrSparseMatrix..::..Equals(Object).) | |
| Equals(DoubleCsrSparseMatrix) |
Equals function for Compressed Row (CSR) formatted sparse matrices.
(Inherited from DoubleCsrSparseMatrix.) | |
| Equals(DoubleSymCsrSparseMatrix) |
Equals function for DoubleSymCsrSparseMatrix matrices.
| |
| GetHashCode |
Gets the hash code for this DoubleSymCsrSparseMatrix instance.
(Overrides DoubleCsrSparseMatrix..::..GetHashCode()()()().) | |
| GetType | Gets the type of the current instance. (Inherited from Object.) | |
| Scale |
Scales each element in the matrix by the specified value.
| |
| ToCommaSeparated()()()() |
Returns a formatted string representation of this matrix using commas
and newlines.
(Inherited from SparseMatrixData<(Of <(<'Storage, 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 SparseMatrixData<(Of <(<'Storage, Type>)>)>.) | |
| ToString()()()() |
Returns a formatted string representation of this matrix.
(Inherited from SparseMatrixData<(Of <(<'Storage, Type>)>)>.) | |
| ToString(String) |
Returns a formatted string representation of this matrix. Numbers are displayed
using the specified format.
(Inherited from SparseMatrixData<(Of <(<'Storage, Type>)>)>.) | |
| ToTabDelimited()()()() |
Returns a formatted string representation of this matrix using tabs
and newlines.
(Inherited from SparseMatrixData<(Of <(<'Storage, 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 SparseMatrixData<(Of <(<'Storage, Type>)>)>.) |
Operators
| Name | Description | |
|---|---|---|
| Addition |
Adds two symmetric sparse matrices.
| |
| Equality |
Equality operator for symmetric sparse matrices in compressed row (CSR) format.
| |
| Inequality |
Not equals operator for symmetric sparse matrices in compressed row (CSR) format.
| |
| Multiply |
Multiply a scalar and a symmetric sparse matrix.
| |
| Subtraction |
Subtracts two symmetric sparse matrices.
|
Properties
| Name | Description | |
|---|---|---|
| Cols |
Gets the number of columns in the matrix.
(Inherited from SparseMatrixData<(Of <(<'Storage, Type>)>)>.) | |
| Data |
Gets and sets the formatted data for the matrix.
(Inherited from SparseMatrixData<(Of <(<'Storage, Type>)>)>.) | |
| Item |
Indexer for returning the element at the specified row and column.
(Overrides SparseMatrixData<(Of <(<'Storage, Type>)>)>..::..Item[([( Int32, Int32])]) .) | |
| Rows |
Gets the number of rows in the matrix.
(Inherited from SparseMatrixData<(Of <(<'Storage, Type>)>)>.) |