| DoubleMatrixEquality 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 ==(
DoubleMatrix A,
DoubleMatrix B
)
Public Shared Operator = (
A As DoubleMatrix,
B As DoubleMatrix
) As Boolean
public:
static bool operator ==(
DoubleMatrix^ A,
DoubleMatrix^ B
)
static let inline (=)
A : DoubleMatrix *
B : DoubleMatrix : bool
Parameters
- A DoubleMatrix
- A matrix.
- B DoubleMatrix
- 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
doubles. Therefore, the values of the matrices must be exactly equal for
this method to return true.
See Also