Checks two matrices for inequality, that is if dimensions of the matrices are not mutually equal, or elements of one matrix are not respectively equal to elements of another one, i.e. the operator is the opposite of the equality operator.
- Template Parameters
-
Val | is a type of elements held by matrices. The type must meet the EqualityComparable requirements. |
Alloc | is a type of an allocator object used for managing a storage of the matrices elements. |
- Parameters
-
left | is a read-only reference to a Matrix <Val, Alloc> object, that along with right , constitute matrices to be compared. |
right | is a read-only reference to a Matrix <Val, Alloc> object, that along with left , constitute matrices to be compared. |
- Returns
- If matrices have unequal numbers of columns or unequal numbers of rows, if elements of both matrices do not equal to each other with respect to their position, the return value is
true
. Otherwise, the operator returns false
.