parameters: (x, out=None, **kwargs)
return_statement: return _mx_nd_np.expm1(x, out=out, **kwargs)
docstring: r"""
      Calculate `exp(x) - 1` for all elements in the array.
  
      Parameters
      ----------
      x : ndarray or scalar
          Input values.
      out : ndarray or 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, element-wise exponential minus one: `out = exp(x) - 1`.
          This is a scalar if `x` is a scalar.
  
      Examples
      --------
      >>> np.expm1(1)
      1.718281828459045
      >>> x = np.array([-1, 1, -2, 2])
      >>> np.exp(x)
      array([-0.63212056,  1.71828183, -0.86466472,  6.3890561])
docstring_summary: r"""
      Calculate `exp(x) - 1` for all elements in the array.
docstring_tokens: r Calculate exp ( x ) - 1 for all elements in the array .
function: def expm1(x, out=None, **kwargs):
      r"""
      Calculate `exp(x) - 1` for all elements in the array.
  
      Parameters
      ----------
      x : ndarray or scalar
          Input values.
      out : ndarray or 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, element-wise exponential minus one: `out = exp(x) - 1`.
          This is a scalar if `x` is a scalar.
  
      Examples
      --------
      >>> np.expm1(1)
      1.718281828459045
      >>> x = np.array([-1, 1, -2, 2])
      >>> np.exp(x)
      array([-0.63212056,  1.71828183, -0.86466472,  6.3890561])
      """
      return _mx_nd_np.expm1(x, out=out, **kwargs)
function_tokens: def expm1 ( x , out = None , * * kwargs ) : return _mx_nd_np . expm1 ( x , out = out , * * kwargs )