parameters: (x1, x2, out=None)
return_statement: return _api_internal.greater(x1, x2, out)
docstring: Return the truth value of (x1 > x2) element-wise.
      Parameters
      ----------
      x1, x2 : ndarrays or scalars
          Input arrays. If ``x1.shape != x2.shape``, they must be broadcastable to
          a common shape (which becomes the shape of the output).
      out : ndarray, None, or tuple of ndarray and None, optional
          A location into which the result is stored. If provided, it must have
          a shape that the inputs broadcast to. If not provided or `None`,
          a freshly-allocated array is returned.
      Returns
      -------
      out : ndarray or scalar
          Output array of type bool, element-wise comparison of `x1` and `x2`.
          This is a scalar if both `x1` and `x2` are scalars.
      See Also
      --------
      equal, greater, greater_equal, less, less_equal
      Examples
      --------
      >>> np.greater(np.ones(2, 1)), np.zeros(1, 3))
      array([[ True,  True,  True],
             [ True,  True,  True]])
      >>> np.greater(1, np.ones(1))
      array([False])
docstring_summary: Return the truth value of (x1 > x2) element-wise.
      Parameters
      ----------
      x1, x2 : ndarrays or scalars
          Input arrays. If ``x1.shape != x2.shape``, they must be broadcastable to
          a common shape (which becomes the shape of the output).
      out : ndarray, None, or tuple of ndarray and None, optional
          A location into which the result is stored. If provided, it must have
          a shape that the inputs broadcast to. If not provided or `None`,
          a freshly-allocated array is returned.
      Returns
      -------
      out : ndarray or scalar
          Output array of type bool, element-wise comparison of `x1` and `x2`.
          This is a scalar if both `x1` and `x2` are scalars.
      See Also
      --------
      equal, greater, greater_equal, less, less_equal
      Examples
      --------
      >>> np.greater(np.ones(2, 1)), np.zeros(1, 3))
      array([[ True,  True,  True],
             [ True,  True,  True]])
      >>> np.greater(1, np.ones(1))
      array([False])
docstring_tokens: Return the truth value of ( x1 > x2 ) element - wise . Parameters ---------- x1 x2 : ndarrays or scalars Input arrays . If x1 . shape ! = x2 . shape they must be broadcastable to a common shape ( which becomes the shape of the output ) . out : ndarray None or tuple of ndarray and None optional A location into which the result is stored . If provided it must have a shape that the inputs broadcast to . If not provided or None a freshly - allocated array is returned . Returns ------- out : ndarray or scalar Output array of type bool element - wise comparison of x1 and x2 . This is a scalar if both x1 and x2 are scalars . See Also -------- equal greater greater_equal less less_equal Examples -------- >>> np . greater ( np . ones ( 2 1 )) np . zeros ( 1 3 )) array ( [[ True True True ] [ True True True ]] ) >>> np . greater ( 1 np . ones ( 1 )) array ( [ False ] )
function: def greater(x1, x2, out=None):
      """
      Return the truth value of (x1 > x2) element-wise.
      Parameters
      ----------
      x1, x2 : ndarrays or scalars
          Input arrays. If ``x1.shape != x2.shape``, they must be broadcastable to
          a common shape (which becomes the shape of the output).
      out : ndarray, None, or tuple of ndarray and None, optional
          A location into which the result is stored. If provided, it must have
          a shape that the inputs broadcast to. If not provided or `None`,
          a freshly-allocated array is returned.
      Returns
      -------
      out : ndarray or scalar
          Output array of type bool, element-wise comparison of `x1` and `x2`.
          This is a scalar if both `x1` and `x2` are scalars.
      See Also
      --------
      equal, greater, greater_equal, less, less_equal
      Examples
      --------
      >>> np.greater(np.ones(2, 1)), np.zeros(1, 3))
      array([[ True,  True,  True],
             [ True,  True,  True]])
      >>> np.greater(1, np.ones(1))
      array([False])
      """
      if isinstance(x1, numeric_types) and isinstance(x2, numeric_types):
          return _np.greater(x1, x2, out=out)
      return _api_internal.greater(x1, x2, out)
function_tokens: def greater ( x1 , x2 , out = None ) : if isinstance ( x1 , numeric_types ) and isinstance ( x2 , numeric_types ) : return _np . greater ( x1 , x2 , out = out ) return _api_internal . greater ( x1 , x2 , out )