Click or drag to resize

SparseMatrixSubtraction Operator

Subtracts two matrices together and returns the results.

Namespace: Altaxo.Calc.LinearAlgebra.Complex32
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static SparseMatrix operator -(
	SparseMatrix leftSide,
	SparseMatrix rightSide
)

Parameters

leftSide  SparseMatrix
The left matrix to subtract.
rightSide  SparseMatrix
The right matrix to subtract.

Return Value

SparseMatrix
The result of the addition.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf leftSide and rightSide don't have the same dimensions.
ArgumentNullExceptionIf leftSide or rightSide is .
Remarks
This operator will allocate new memory for the result. It will choose the representation of either leftSide or rightSide depending on which is denser.
See Also