netsse.tools.misc_func.areSame_mat ================================== .. py:function:: netsse.tools.misc_func.areSame_mat(A, B) Checks whether two matrices are identical, element-wise. :param A: Input matrix. :type A: 2d-array :param B: Input matrix. :type B: 2d-array :returns: ``False`` for ``A!=B``, ``True`` for ``A=B``. :rtype: bool .. note:: If ``A`` and ``B`` do `not` have the same shape, then ``False`` is returned. .. seealso:: :obj:`areSame_vec` Checks whether two vectors are identical, element-wise. .. rubric:: Example >>> areSame_mat(A,B)