Tests for equality of two tridiagonal matrices. Two matrices are equal if they have the same dimensions, and all values are equal.

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

Syntax

C#
public static bool operator !=(
	DoubleTriDiagMatrix A,
	DoubleTriDiagMatrix B
)
Visual Basic (Declaration)
Public Shared Operator <> ( _
	A As DoubleTriDiagMatrix, _
	B As DoubleTriDiagMatrix _
) As Boolean
Visual C++
public:
static bool operator !=(
	DoubleTriDiagMatrix^ A, 
	DoubleTriDiagMatrix^ B
)

Parameters

A
Type: CenterSpace.NMath.Matrix..::.DoubleTriDiagMatrix
A tridiagonal matrix.
B
Type: CenterSpace.NMath.Matrix..::.DoubleTriDiagMatrix
A tridiagonal matrix.

Return Value

False if the matrices have the different dimensions, or have different values.

Remarks

The comparison of the values is done using operator== for doubles. Therefore, the values of the matrices must be exactly equal for this method to return false.

See Also