-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
337 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,88 @@ | ||
Random Generator | ||
---------------- | ||
The :class:`~randomgen.generator.RandomGenerator` provides access to | ||
The :class:`~randomgen.generator.Generator` provides access to | ||
a wide range of distributions, and served as a replacement for | ||
:class:`~numpy.random.RandomState`. The main difference between | ||
the two is that :class:`~randomgen.generator.RandomGenerator` relies | ||
the two is that :class:`~randomgen.generator.Generator` relies | ||
on an additional basic RNG to manage state and generate the random | ||
bits which are then transformed into random values from useful | ||
distributions. The default basic RNG used by | ||
:class:`~randomgen.generator.RandomGenerator` is | ||
:class:`~randomgen.generator.Generator` is | ||
:class:`~randomgen.xoroshiro128.Xoroshiro128`. The basic RNG can be | ||
changed by passing an instantized basic RNG to | ||
:class:`~randomgen.generator.RandomGenerator`. | ||
:class:`~randomgen.generator.Generator`. | ||
|
||
.. currentmodule:: randomgen.generator | ||
|
||
.. autoclass:: | ||
RandomGenerator | ||
Generator | ||
|
||
Seed and State Manipulation | ||
=========================== | ||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
~RandomGenerator.seed | ||
~RandomGenerator.state | ||
~Generator.seed | ||
~Generator.state | ||
|
||
Simple random data | ||
================== | ||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
~RandomGenerator.rand | ||
~RandomGenerator.randn | ||
~RandomGenerator.integers | ||
~RandomGenerator.random_integers | ||
~RandomGenerator.random | ||
~RandomGenerator.choice | ||
~RandomGenerator.bytes | ||
~Generator.rand | ||
~Generator.randn | ||
~Generator.integers | ||
~Generator.random | ||
~Generator.choice | ||
~Generator.bytes | ||
|
||
Permutations | ||
============ | ||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
~RandomGenerator.shuffle | ||
~RandomGenerator.permutation | ||
~Generator.shuffle | ||
~Generator.permutation | ||
|
||
Distributions | ||
============= | ||
.. autosummary:: | ||
:toctree: generated/ | ||
|
||
~RandomGenerator.beta | ||
~RandomGenerator.binomial | ||
~RandomGenerator.chisquare | ||
~RandomGenerator.complex_normal | ||
~RandomGenerator.dirichlet | ||
~RandomGenerator.exponential | ||
~RandomGenerator.f | ||
~RandomGenerator.gamma | ||
~RandomGenerator.geometric | ||
~RandomGenerator.gumbel | ||
~RandomGenerator.hypergeometric | ||
~RandomGenerator.laplace | ||
~RandomGenerator.logistic | ||
~RandomGenerator.lognormal | ||
~RandomGenerator.logseries | ||
~RandomGenerator.multinomial | ||
~RandomGenerator.multivariate_normal | ||
~RandomGenerator.negative_binomial | ||
~RandomGenerator.noncentral_chisquare | ||
~RandomGenerator.noncentral_f | ||
~RandomGenerator.normal | ||
~RandomGenerator.pareto | ||
~RandomGenerator.poisson | ||
~RandomGenerator.power | ||
~RandomGenerator.rayleigh | ||
~RandomGenerator.standard_cauchy | ||
~RandomGenerator.standard_exponential | ||
~RandomGenerator.standard_gamma | ||
~RandomGenerator.standard_normal | ||
~RandomGenerator.standard_t | ||
~RandomGenerator.triangular | ||
~RandomGenerator.uniform | ||
~RandomGenerator.vonmises | ||
~RandomGenerator.wald | ||
~RandomGenerator.weibull | ||
~RandomGenerator.zipf | ||
~Generator.beta | ||
~Generator.binomial | ||
~Generator.chisquare | ||
~Generator.complex_normal | ||
~Generator.dirichlet | ||
~Generator.exponential | ||
~Generator.f | ||
~Generator.gamma | ||
~Generator.geometric | ||
~Generator.gumbel | ||
~Generator.hypergeometric | ||
~Generator.laplace | ||
~Generator.logistic | ||
~Generator.lognormal | ||
~Generator.logseries | ||
~Generator.multinomial | ||
~Generator.multivariate_normal | ||
~Generator.negative_binomial | ||
~Generator.noncentral_chisquare | ||
~Generator.noncentral_f | ||
~Generator.normal | ||
~Generator.pareto | ||
~Generator.poisson | ||
~Generator.power | ||
~Generator.rayleigh | ||
~Generator.standard_cauchy | ||
~Generator.standard_exponential | ||
~Generator.standard_gamma | ||
~Generator.standard_normal | ||
~Generator.standard_t | ||
~Generator.triangular | ||
~Generator.uniform | ||
~Generator.vonmises | ||
~Generator.wald | ||
~Generator.weibull | ||
~Generator.zipf |
Oops, something went wrong.