Click or drag to resize

DoubleComplexTriDiagMatrixAdd(DoubleComplexTriDiagMatrix, DoubleComplexTriDiagMatrix) Method

Adds two tridiagonal matrices.

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

Parameters

A  DoubleComplexTriDiagMatrix
A tridiagonal matrix.
B  DoubleComplexTriDiagMatrix
A tridiagonal matrix.

Return Value

DoubleComplexTriDiagMatrix
A tridiagonal 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