Click or drag to resize

FloatComplexCsrSparseMatrixSubtract Method

Subtracts two sparse matrices.

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

Parameters

A  FloatComplexCsrSparseMatrix
A sparse matrix.
B  FloatComplexCsrSparseMatrix
A sparse matrix.

Return Value

FloatComplexCsrSparseMatrix
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