Click or drag to resize

FloatComplexTriDiagMatrixAdd Method (FloatComplexTriDiagMatrix, FloatComplexTriDiagMatrix)

Adds two tridiagonal matrices.

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

Parameters

A
Type: CenterSpace.NMath.CoreFloatComplexTriDiagMatrix
A tridiagonal matrix.
B
Type: CenterSpace.NMath.CoreFloatComplexTriDiagMatrix
A tridiagonal matrix.

Return Value

Type: FloatComplexTriDiagMatrix
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