API reference
Multithreading settings
Get number of threads for multithreaded RNGs and algebra functions. |
|
|
Set number of threads for subsequent multithreaded RNGs and algebra functions. |
Linear algebra
|
Add multithreaded. |
|
Divide multithreaded. |
|
Multiply multithreaded. |
|
Raise to power multithreaded. |
|
Subtract multithreaded. |
Pseudorandom number generation
Constructor
|
Multithreaded random number generator. |
Functions
The functions below are the same as the methods of the MultithreadedRNG defined above, as it comes from an instance of this class, instantiated with default arguments and seed as set by numpy.random.seed.
Note
For more information on distributions, see Random generator distributions.
|
Draw from a beta distribution. |
|
Draw from a binomial distribution. |
|
Draw from a chisquare distribution. |
|
Draw from an exponential distribution. |
|
Draw from an F distribution. |
|
Draw from a gamma distribution. |
|
Draw from a geometric distribution. |
|
Draw from a Gumbel distribution. |
|
Draw from a hypergeometric distribution. |
|
Draw random integers from low (inclusive) to high (exclusive), or if endpoint=True, low (inclusive) to high (inclusive). |
|
Draw from a Laplace distribution. |
|
Draw from a logistic distribution. |
|
Draw from a lognormal distribution. |
|
Draw from a logarithmic series distribution. |
|
Draw from a negative binomial distribution. |
|
Draw from a noncentral chisquare distribution. |
|
Draw from a noncentral F distribution. |
|
Draw from the normal distribution. |
|
Draw from a Pareto II or Lomax distribution. |
|
Draw from a poisson distribution. |
|
Draw from a power distribution. |
|
Return random floats in the half-open interval [0.0, 1.0). |
|
Draw from a Rayleigh distribution. |
|
Draw from a standard Cauchy distribution. |
|
Draw from a standard exponential distribution. |
|
Draw from a standard gamma distribution. |
|
Draw from a standard normal distribution. |
|
Draw from a standard Student’s t distribution. |
|
Draw from a triangular distribution. |
|
Draw from a uniform distribution. |
|
Draw from a von Mises distribution. |
|
Draw from a Wald distribution. |
|
Draw from a Weibull distribution. |
|
Draw from a Zipf distribution. |