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

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

Syntax

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

Return Value

True if the matrices are of the same dimension and contain the same values; otherwise, false. If both matrices are null, this operator returns true.

Remarks

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

See Also