Click or drag to resize

DoubleSymCsrSparseMatrix Class

Class DoubleSymCsrSparseMatrix stores a sparse symmetric matrix using the CompreSsed Row (CSR) storage format.
Inheritance Hierarchy
SystemObject
  CenterSpace.NMath.CoreSparseMatrixDataCompressedSparseRowDouble, Double
    CenterSpace.NMath.CoreDoubleCsrSparseMatrix
      CenterSpace.NMath.CoreDoubleSymCsrSparseMatrix

Namespace:  CenterSpace.NMath.Core
Assembly:  NMath (in NMath.dll) Version: 7.3
Syntax
[SerializableAttribute]
public class DoubleSymCsrSparseMatrix : DoubleCsrSparseMatrix

The DoubleSymCsrSparseMatrix type exposes the following members.

Constructors
  NameDescription
Public methodDoubleSymCsrSparseMatrix
Constructs an empty DoubleSymCsrSparseMatrix instance.
Public methodDoubleSymCsrSparseMatrix(CompressedSparseRowDouble)
Constructs a DoubleSymCsrSparseMatrix instance with the given data. Only the upper triangular part of the data will be referenced.
Public methodDoubleSymCsrSparseMatrix(IDictionaryIntPair, 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.
Top
Properties
Methods
  NameDescription
Public methodStatic memberAdd(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].
Public methodStatic memberAdd(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].
Public methodClone
Returns a deep copy of self.
(Overrides DoubleCsrSparseMatrixClone.)
Public methodEquals(Object)
Equals function for DoubleSymCsrSparseMatrix matrices.
(Overrides DoubleCsrSparseMatrixEquals(Object).)
Public methodEquals(DoubleCsrSparseMatrix)
Equals function for Compressed Row (CSR) formatted sparse matrices.
(Inherited from DoubleCsrSparseMatrix.)
Public methodEquals(DoubleSymCsrSparseMatrix)
Equals function for DoubleSymCsrSparseMatrix matrices.
Public methodGetHashCode
Gets the hash code for this DoubleSymCsrSparseMatrix instance.
(Overrides DoubleCsrSparseMatrixGetHashCode.)
Public methodScale
Scales each element in the matrix by the specified value.
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.
(Inherited from DoubleCsrSparseMatrix.)
Public methodToGeneralMatrix
Converts this sparse matrix to a general sparse 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.)
Top
Operators
  NameDescription
Public operatorStatic memberAddition
Adds two symmetric sparse matrices.
Public operatorStatic memberEquality
Equality operator for symmetric sparse matrices in compressed row (CSR) format.
Public operatorStatic memberInequality
Not equals operator for symmetric sparse matrices in compressed row (CSR) format.
Public operatorStatic memberMultiply
Multiply a scalar and a symmetric sparse matrix.
Public operatorStatic memberSubtraction
Subtracts two symmetric sparse matrices.
Top
Fields
See Also