Click or drag to resize

DoubleHermCsrSparseMatrix Class

Class DoubleHermCsrSparseMatrix stores a general sparse Hermitian matrix using the Compressed Row (CSR) storage format.
Inheritance Hierarchy

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class DoubleHermCsrSparseMatrix : DoubleComplexCsrSparseMatrix

The DoubleHermCsrSparseMatrix type exposes the following members.

Constructors
 NameDescription
Public methodDoubleHermCsrSparseMatrix Constructs an empty DoubleHermCsrSparseMatrix instance.
Public methodDoubleHermCsrSparseMatrix(CompressedSparseRowDoubleComplex) Constructs a DoubleHermCsrSparseMatrix instance with the given data. Only the upper triangular part of the data will be referenced.
Public methodDoubleHermCsrSparseMatrix(IDictionaryIntPair, DoubleComplex, Int32) Constructs a DoubleHermCsrSparseMatrix instance from the given coordinate map format. Only the upper triangular, column greater than or equal to row, values will be referenced.
Top
Properties
 NameDescription
Public propertyCols Gets the number of columns in the matrix.
(Inherited from SparseMatrixDataStorage, Type)
Public propertyData Gets and sets the formatted data for the matrix.
(Inherited from SparseMatrixDataStorage, Type)
Public propertyItem Indexer for returning the element at the specified row and column.
(Overrides SparseMatrixDataStorage, TypeItemInt32, Int32)
Public propertyRows Gets the number of rows in the matrix.
(Inherited from SparseMatrixDataStorage, Type)
Top
Methods
 NameDescription
Public methodStatic memberAdd(DoubleHermCsrSparseMatrix, DoubleHermCsrSparseMatrix) Compute the sum of two Hermitian sparse matrices. Performs the operation C = A + B, where C[i,j] = A[i,j] + B[i,j].
Public methodStatic memberAdd(DoubleHermCsrSparseMatrix, DoubleHermCsrSparseMatrix, DoubleComplex) Computes the some of a Hermitian 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 DoubleComplexCsrSparseMatrixClone)
Public methodEquals(DoubleComplexCsrSparseMatrix) Equals function for Compressed Row (CSR) formatted complex sparse matrices.
(Inherited from DoubleComplexCsrSparseMatrix)
Public methodEquals(DoubleHermCsrSparseMatrix) Equals function for DoubleHermCsrSparseMatrix matrices.
Public methodEquals(Object) Equals function for DoubleHermCsrSparseMatrix matrices.
(Overrides DoubleComplexCsrSparseMatrixEquals(Object))
Public methodGetHashCode Gets the hash code for this DoubleHermCsrSparseMatrix instance.
(Overrides DoubleComplexCsrSparseMatrixGetHashCode)
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 DoubleComplexCsrSparseMatrix)
Public methodToGeneralMatrix Converts this Hermitian 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(DoubleHermCsrSparseMatrix, DoubleHermCsrSparseMatrix) Adds two Hermitian sparse matrices.
Public operatorStatic memberEquality(DoubleHermCsrSparseMatrix, DoubleHermCsrSparseMatrix) Equality operator for Hermitian sparse matrices in compressed row (CSR) format.
Public operatorStatic memberInequality(DoubleHermCsrSparseMatrix, DoubleHermCsrSparseMatrix) Not equals operator for Hermitian sparse matrices in compressed row (CSR) format.
Public operatorStatic memberMultiply(DoubleComplex, DoubleHermCsrSparseMatrix) Multiply a scalar and a Hermitian sparse matrix.
Public operatorStatic memberSubtraction(DoubleHermCsrSparseMatrix, DoubleHermCsrSparseMatrix) Subtracts two Hermitian sparse matrices.
Top
Fields
 NameDescription
Protected fielddata_ The matrix data.
(Inherited from SparseMatrixDataStorage, Type)
Top
See Also