Click or drag to resize

DoubleComplexCsrSparseMatrixSubtract Method

Subtracts two sparse matrices.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleComplexCsrSparseMatrix Subtract(
	DoubleComplexCsrSparseMatrix A,
	DoubleComplexCsrSparseMatrix B
)

Parameters

A  DoubleComplexCsrSparseMatrix
A sparse matrix.
B  DoubleComplexCsrSparseMatrix
A sparse matrix.

Return Value

DoubleComplexCsrSparseMatrix
A sparse matrix C where C[i,j] = A[i,j] - B[i,j].
Exceptions
ExceptionCondition
MismatchedSizeExceptionThrown if the two matrices do not have the same dimensions.
See Also