Click or drag to resize

FloatComplexCsrSparseMatrix Class

Class FloatComplexCsrSparseMatrix stores a general sparse matrix using Compressed Row (CSR) Storage format.
Inheritance Hierarchy

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[SerializableAttribute]
public class FloatComplexCsrSparseMatrix : SparseMatrixData<CompressedSparseRow<FloatComplex>, FloatComplex>, 
	IEquatable<FloatComplexCsrSparseMatrix>, ICloneable

The FloatComplexCsrSparseMatrix type exposes the following members.

Constructors
 NameDescription
Public methodFloatComplexCsrSparseMatrix Constructs an empty FloatComplexCsrSparseMatrix.
Public methodFloatComplexCsrSparseMatrix(CompressedSparseRowFloatComplex) Constructs a FloatCSRSparseMat instance with the given data.
Public methodFloatComplexCsrSparseMatrix(IDictionaryIntPair, FloatComplex, Int32) Constructs a FloatCSRSparseMat instance from the given coordinate map format.
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 Gets and sets the value at the given matrix position.
(Inherited from SparseMatrixDataStorage, Type)
Public propertyRows Gets the number of rows in the matrix.
(Inherited from SparseMatrixDataStorage, Type)
Top
Methods
 NameDescription
Public methodStatic memberAdd(FloatComplexCsrSparseMatrix, FloatComplexCsrSparseMatrix) Compute the sum of two sparse matrices. Performs the operation C = A + B, where C[i,j] = A[i,j] + B[i,j].
Public methodStatic memberAdd(FloatComplexCsrSparseMatrix, FloatComplexCsrSparseMatrix, FloatComplex) Computes the some of a 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 Creates a deep copy of self.
Public methodStatic memberDivide Divides a sparse matrix by a scalar.
Public methodEquals(FloatComplexCsrSparseMatrix) Equals function for Compressed Row (CSR) formatted complex sparse matrices.
Public methodEquals(Object) Equals function for Compressed Row (CSR) formatted complex sparse matrices.
(Overrides SparseMatrixDataStorage, TypeEquals(Object))
Public methodGetHashCode Gets the hash code for this instance.
(Overrides SparseMatrixDataStorage, TypeGetHashCode)
Public methodStatic memberMultiply(FloatComplex, FloatComplexCsrSparseMatrix) Multiply a scalar and a sparse matrix.
Public methodStatic memberMultiply(FloatComplexCsrSparseMatrix, FloatComplex) Multiply a scalar and a sparse matrix.
Public methodScale Scales each element in the matrix by the specified value.
Public methodStatic memberSubtract Subtracts two sparse matrices.
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.
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.
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)
Public methodStatic memberTransposeAdd(FloatComplexCsrSparseMatrix, FloatComplexCsrSparseMatrix) Computes the sum of the transpose of one sparse matrix with another sparse matrix. Performs the operation C = A' + B, where ' denotes transpose and C[i,j] = A[j,i] + B[i,j].
Public methodStatic memberTransposeAdd(FloatComplexCsrSparseMatrix, FloatComplexCsrSparseMatrix, FloatComplex) Computes the sum of the transpose of one sparse matrix with a scalar multiple another sparse matrix. Performs the operation C = A' + beta*B, where ' denotes transpose and C[i,j] = A[j,i] + B[i,j].
Top
Operators
 NameDescription
Public operatorStatic memberAddition(FloatComplexCsrSparseMatrix, FloatComplexCsrSparseMatrix) Adds two sparse matrices.
Public operatorStatic memberDivision(FloatComplexCsrSparseMatrix, FloatComplex) Divides a sparse matrix by a scalar.
Public operatorStatic memberEquality(FloatComplexCsrSparseMatrix, FloatComplexCsrSparseMatrix) Equality operator for complex sparse matrices in compressed row (CSR) format.
Public operatorStatic memberInequality(FloatComplexCsrSparseMatrix, FloatComplexCsrSparseMatrix) Not equals operator for complex sparse matrices in compressed row (CSR) format.
Public operatorStatic memberMultiply(FloatComplex, FloatComplexCsrSparseMatrix) Multiply a scalar and a sparse matrix.
Public operatorStatic memberMultiply(FloatComplexCsrSparseMatrix, FloatComplex) Multiply a scalar and a sparse matrix.
Public operatorStatic memberSubtraction(FloatComplexCsrSparseMatrix, FloatComplexCsrSparseMatrix) Subtracts two sparse matrices.
Top
Fields
 NameDescription
Protected fielddata_ The matrix data.
(Inherited from SparseMatrixDataStorage, Type)
Top
See Also