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

Test Matrix equality.

This method returns true if all of M's elements are equal to those in this Matrix. To be equal, two matrices must be of the same dimension. Matrices with differing matrix_order or matrix_style may equal one another.

Parameters:
MThe Matrix to test equality with.
See also:
equals(T_type x) const
operator==(const Matrix<T_type, L_ORDER, L_STYLE>& lhs, const Matrix<T_type, R_ORDER, R_STYLE>& rhs)