Click or drag to resize

DoubleComplexTriDiagMatrixAddition(DoubleComplex, DoubleComplexTriDiagMatrix) Operator

Adds a scalar to the non-zero elements of a tridiagonal matrix.

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

Parameters

a  DoubleComplex
A scalar.
A  DoubleComplexTriDiagMatrix
A tridiagonal matrix.

Return Value

DoubleComplexTriDiagMatrix
A tridiagonal matrix, Bwith B[i,j] = a + A[i,j] whenever j - i is less than or equal to 1, or i - j is less than or equal to 1.
See Also