Scythe-1.0.3
template<typename T_type = double, matrix_order ORDER = Col, matrix_style STYLE = Concrete>
template<matrix_order O, matrix_style S>
Matrix& scythe::Matrix< T_type, ORDER, STYLE >::operator&= ( const Matrix< T_type, O, S > &  M) [inline]

Logically AND this Matrix with another.

This operator computes the element-wise logical AND of this Matrix and another and places the result into this Matrix. That is, after the operation, an element in this Matrix will evaluate to true (or the type-specific analog of true, typically 1) iff the corresponding element previously residing in this Matrix and the corresponding element in M both evaluate to true. The two matrices must have the same dimensions, or one of the Matrices must be 1x1.

Parameters:
MThe Matrix to AND with this one.
See also:
operator&=(T_type)
operator|=(const Matrix<T_type, O, S> &)
Exceptions:
scythe_conformation_error(Level 1)
scythe_alloc_error(Level 1)