Subtracts two symmetric sparse matrices.

Namespace: CenterSpace.NMath.Matrix
Assembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0

Syntax

C#
public static DoubleSymCsrSparseMatrix operator -(
	DoubleSymCsrSparseMatrix A,
	DoubleSymCsrSparseMatrix B
)
Visual Basic
Public Shared Operator - ( _
	A As DoubleSymCsrSparseMatrix, _
	B As DoubleSymCsrSparseMatrix _
) As DoubleSymCsrSparseMatrix
Visual C++
public:
static DoubleSymCsrSparseMatrix^ operator -(
	DoubleSymCsrSparseMatrix^ A, 
	DoubleSymCsrSparseMatrix^ B
)

Parameters

A
Type: CenterSpace.NMath.Matrix..::..DoubleSymCsrSparseMatrix
A symmetric sparse matrix.
B
Type: CenterSpace.NMath.Matrix..::..DoubleSymCsrSparseMatrix
A symmetric sparse matrix.

Return Value

A symmetric sparse matrix C where C[i,j] = A[i,j] - B[i,j].

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::..MismatchedSizeExceptionThrown if the two matrices do not have the same dimensions.

See Also