Click or drag to resize

FloatMatrixEquality Operator

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: 7.4
Syntax
public static bool operator ==(
	FloatMatrix A,
	FloatMatrix B
)

Parameters

A  FloatMatrix
A matrix.
B  FloatMatrix
A matrix.

Return Value

Boolean
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