nums.core.array.random module
-
class
nums.core.array.random.
NumsRandomState
(cm, seed)[source]
Bases: object
-
beta
(a, b, shape=None, block_shape=None, dtype=None)[source]
-
binomial
(n, p, shape=None, block_shape=None, dtype=None)[source]
-
chisquare
(df, shape=None, block_shape=None, dtype=None)[source]
-
exponential
(scale=1.0, shape=None, block_shape=None, dtype=None)[source]
-
f
(dfnum, dfden, shape=None, block_shape=None, dtype=None)[source]
-
gamma
(k, theta, shape=None, block_shape=None, dtype=None)[source]
-
geometric
(p, shape=None, block_shape=None, dtype=None)[source]
-
gumbel
(loc=0.0, scale=1.0, shape=None, block_shape=None, dtype=None)[source]
-
hypergeometric
(ngood, nbad, nsample, shape=None, block_shape=None, dtype=None)[source]
-
integers
(low, high=None, shape=None, block_shape=None, dtype=None, endpoint=False)[source]
-
laplace
(loc=0.0, scale=1.0, shape=None, block_shape=None, dtype=None)[source]
-
logistic
(loc=0.0, scale=1.0, shape=None, block_shape=None, dtype=None)[source]
-
lognormal
(mean=0.0, sigma=1.0, shape=None, block_shape=None, dtype=None)[source]
-
logseries
(p, shape=None, block_shape=None, dtype=None)[source]
-
negative_binomial
(n, p, shape=None, block_shape=None, dtype=None)[source]
-
noncentral_chisquare
(df, nonc, shape=None, block_shape=None, dtype=None)[source]
-
noncentral_f
(dfnum, dfden, nonc, shape=None, block_shape=None, dtype=None)[source]
-
normal
(loc=0.0, scale=1.0, shape=None, block_shape=None, dtype=None)[source]
-
numpy
()[source]
-
pareto
(a, shape=None, block_shape=None, dtype=None)[source]
-
permutation
(size, block_size)[source]
-
poisson
(lam=1.0, shape=None, block_shape=None, dtype=None)[source]
-
power
(a, shape=None, block_shape=None, dtype=None)[source]
-
random
(shape=None, block_shape=None, dtype=None)[source]
-
rayleigh
(scale=1.0, shape=None, block_shape=None, dtype=None)[source]
-
seed
(seed=None)[source]
-
standard_cauchy
(shape=None, block_shape=None, dtype=None)[source]
-
standard_t
(df, shape=None, block_shape=None, dtype=None)[source]
-
triangular
(left, mode, right, shape=None, block_shape=None, dtype=None)[source]
-
uniform
(low=0.0, high=1.0, shape=None, block_shape=None, dtype=None)[source]
-
vonmises
(mu, kappa, shape=None, block_shape=None, dtype=None)[source]
-
wald
(mean, scale, shape=None, block_shape=None, dtype=None)[source]
-
weibull
(a, shape=None, block_shape=None, dtype=None)[source]
-
zipf
(a, shape=None, block_shape=None, dtype=None)[source]