### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Random sampling (`numpy.random`) »

# numpy.random.standard_exponential

`numpy.random.``standard_exponential`(size=None)

  Draw samples from the standard exponential distribution.

  `standard_exponential` is identical to the exponential distribution with a scale parameter of 1.

  Parameters : | size : int or tuple of ints Shape of the output.
  Returns : | out : float or ndarray Drawn samples.

  Examples

  Output a 3x8000 array:

      >>> n = np.random.standard_exponential((3, 8000))

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Random sampling (`numpy.random`) »