Click or drag to resize

DoubleTriDiagMatrixAddition(DoubleTriDiagMatrix, DoubleTriDiagMatrix) Operator

Adds two tridiagonal matrices.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static DoubleTriDiagMatrix operator +(
	DoubleTriDiagMatrix A,
	DoubleTriDiagMatrix B
)

Parameters

A  DoubleTriDiagMatrix
A tridiagonal matrix.
B  DoubleTriDiagMatrix
A tridiagonal matrix.

Return Value

DoubleTriDiagMatrix
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