Exponential distribution based on inversion method.
See the wiki article.
Exponential distribution based on [inversion method](https://en.wikipedia.org/wiki/Inverse_transform_sampling). See the [wiki article](https://en.wikipedia.org/wiki/Exponential_distribution).
Factory to create the distribution.
Factory to create the distribution.
Proxy for kixi-stats distributions.
See the github repo.
Proxy for kixi-stats distributions. See the [github repo](https://github.com/MastodonC/kixi.stats).
(registry)
returns all distributions available in automaton-optimization
.
They are all implementing the automaton-optimization.proba.distribution/Distribution
protocol.
Note that you can enrich them with your own distribution implementations if needed.
`(registry)` returns all distributions available in `automaton-optimization`. They are all implementing the `automaton-optimization.proba.distribution/Distribution` protocol. Note that you can enrich them with your own distribution implementations if needed.
An uniform distribution, returning a double between a
and b
.
An uniform distribution, returning a double between `a` and `b`.
An uniform distribution of integers.
An uniform distribution of integers.
PRNG implementation built-in in your platform.
PRNG implementation built-in in your platform.
A stateful prng definition.
Statefulness is important to ensure:
rnd
is modifying the state of the prng.A stateful prng definition. Statefulness is important to ensure: * Each call to `rnd` is modifying the state of the prng. * it is thread safe to use.
Creates a stateful prng based on a stateless one.
Creates a stateful prng based on a stateless one.
Implements PRNG without state.
Use this protocol to wrap some stateless implementations of a prng
.
To use prng implementing protocol, wraps it again with PrngStatefulImpl
.
Implements PRNG without state. Use this protocol to wrap some stateless implementations of a `prng`. To use prng implementing protocol, wraps it again with `PrngStatefulImpl`.
Prng tests.
Prng tests.
Adapted from https://github.com/hugoduncan/criterium/blob/develop/src/criterium/well.clj
.
Adapted from `https://github.com/hugoduncan/criterium/blob/develop/src/criterium/well.clj`.
PRNG stateless implementation based on xoroshoshiro128
algorithm.
See [xoroshiro128 repo](https://github.com/thedavidmeister/xoroshiro128] for more details.
PRNG stateless implementation based on `xoroshoshiro128` algorithm. See [xoroshiro128 repo](https://github.com/thedavidmeister/xoroshiro128] for more details.
A sample data stored in memory - a vector.
A sample data stored in memory - a vector.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close