| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static bool operator ==(
FloatMatrix A,
FloatMatrix B
)
Public Shared Operator = (
A As FloatMatrix,
B As FloatMatrix
) As Boolean
public:
static bool operator ==(
FloatMatrix^ A,
FloatMatrix^ B
)
static let inline (=)
A : FloatMatrix *
B : FloatMatrix : bool
Parameters
- A FloatMatrix
- A matrix.
- B FloatMatrix
- A matrix.
Return Value
BooleanTrue 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