Subtracts the non-zero elements of a tridiagonal matrix from a scalar.

Namespace:  CenterSpace.NMath.Matrix
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public static DoubleComplexTriDiagMatrix operator -(
	DoubleComplex a,
	DoubleComplexTriDiagMatrix A
)
Visual Basic (Declaration)
Public Shared Operator - ( _
	a As DoubleComplex, _
	A As DoubleComplexTriDiagMatrix _
) As DoubleComplexTriDiagMatrix
Visual C++
public:
static DoubleComplexTriDiagMatrix^ operator -(
	DoubleComplex a, 
	DoubleComplexTriDiagMatrix^ A
)

Return Value

A tridiagonal matrix, B, with B[i,j] = a - A[i,j] whenever j - i is less than or equal to the 1, or i - j is less than or equal to 1.

See Also