Former-commit-id:06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f] Former-commit-id:9f19e3f712
77 lines
1 KiB
ReStructuredText
Executable file
77 lines
1 KiB
ReStructuredText
Executable file
.. _routines.random:
|
|
|
|
Random sampling (:mod:`numpy.random`)
|
|
*************************************
|
|
|
|
.. currentmodule:: numpy.random
|
|
|
|
Simple random data
|
|
==================
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
rand
|
|
randn
|
|
randint
|
|
random_integers
|
|
random_sample
|
|
bytes
|
|
|
|
Permutations
|
|
============
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
shuffle
|
|
permutation
|
|
|
|
Distributions
|
|
=============
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
beta
|
|
binomial
|
|
chisquare
|
|
mtrand.dirichlet
|
|
exponential
|
|
f
|
|
gamma
|
|
geometric
|
|
gumbel
|
|
hypergeometric
|
|
laplace
|
|
logistic
|
|
lognormal
|
|
logseries
|
|
multinomial
|
|
multivariate_normal
|
|
negative_binomial
|
|
noncentral_chisquare
|
|
noncentral_f
|
|
normal
|
|
pareto
|
|
poisson
|
|
power
|
|
rayleigh
|
|
standard_cauchy
|
|
standard_exponential
|
|
standard_gamma
|
|
standard_normal
|
|
standard_t
|
|
triangular
|
|
uniform
|
|
vonmises
|
|
wald
|
|
weibull
|
|
zipf
|
|
|
|
Random generator
|
|
================
|
|
.. autosummary::
|
|
:toctree: generated/
|
|
|
|
mtrand.RandomState
|
|
seed
|
|
get_state
|
|
set_state
|