numpy.random.RandomState.standard_exponential
method
- 
RandomState.standard_exponential(size=None)
- 
Draw samples from the standard exponential distribution. standard_exponentialis identical to the exponential distribution with a scale parameter of 1.Parameters: - 
size : int or tuple of ints, optional
- 
Output shape. If the given shape is, e.g., (m, n, k), thenm * n * ksamples are drawn. Default is None, in which case a single value is returned.
 Returns: - 
out : float or ndarray
- 
Drawn samples. 
 ExamplesOutput a 3x8000 array: >>> n = np.random.standard_exponential((3, 8000)) 
- 
    © 2005–2019 NumPy Developers
Licensed under the 3-clause BSD License.
    https://docs.scipy.org/doc/numpy-1.16.1/reference/generated/numpy.random.RandomState.standard_exponential.html