netsse.tools.misc_func.areSame_vec ================================== .. py:function:: netsse.tools.misc_func.areSame_vec(a, b) Checks whether two vectors are identical, element-wise. :param a: Input vector. :type a: 1d-array :param b: Input vector. :type b: 1d-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_mat` Checks whether two matrices are identical, element-wise. .. rubric:: Example >>> areSame_vec(a,b)