Subtracts two Hermitian sparse matrices.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public static DoubleHermCsrSparseMatrix operator -( DoubleHermCsrSparseMatrix A, DoubleHermCsrSparseMatrix B ) |
| Visual Basic (Declaration) |
|---|
Public Shared Operator - ( _ A As DoubleHermCsrSparseMatrix, _ B As DoubleHermCsrSparseMatrix _ ) As DoubleHermCsrSparseMatrix |
| Visual C++ |
|---|
public: static DoubleHermCsrSparseMatrix^ operator -( DoubleHermCsrSparseMatrix^ A, DoubleHermCsrSparseMatrix^ B ) |
Parameters
- A
- Type: CenterSpace.NMath.Matrix..::.DoubleHermCsrSparseMatrix
A Hermitian sparse matrix.
- B
- Type: CenterSpace.NMath.Matrix..::.DoubleHermCsrSparseMatrix
A Hermitian sparse matrix.
Return Value
A Hermitian sparse matrix C where C[i,j] = A[i,j] - B[i,j].
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the two matrices do not have the same dimensions. |