Subtracts one upper triangular matrix from another.

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

Syntax

C#
public static DoubleComplexUpperTriMatrix Subtract(
	DoubleComplexUpperTriMatrix A,
	DoubleComplexUpperTriMatrix B
)
Visual Basic (Declaration)
Public Shared Function Subtract ( _
	A As DoubleComplexUpperTriMatrix, _
	B As DoubleComplexUpperTriMatrix _
) As DoubleComplexUpperTriMatrix
Visual C++
public:
static DoubleComplexUpperTriMatrix^ Subtract(
	DoubleComplexUpperTriMatrix^ A, 
	DoubleComplexUpperTriMatrix^ B
)

Parameters

A
Type: CenterSpace.NMath.Matrix..::.DoubleComplexUpperTriMatrix
an upper triangular matrix.
B
Type: CenterSpace.NMath.Matrix..::.DoubleComplexUpperTriMatrix
an upper triangular matrix.

Return Value

an upper triangular matrix C where C[i,j] = A[i,j] - B[i,j].

Exceptions

ExceptionCondition
CenterSpace.NMath.Core..::.MismatchedSizeExceptionThrown if A and B do not have the same dimensions.

See Also