Click or drag to resize

DoubleUpperTriMatrixAdd(DoubleUpperTriMatrix, DoubleUpperTriMatrix) Method

Adds two upper triangular matrices.

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

Parameters

A  DoubleUpperTriMatrix
an upper triangular matrix.
B  DoubleUpperTriMatrix
an upper triangular matrix.

Return Value

DoubleUpperTriMatrix
an upper triangular 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