# Module quickrand

- Description
- Function Index
- Function Details

### Quick Random Number Generation

.

Copyright © 2012-2017 Michael Truog

Version: 1.6.1 Mar 28 2017 18:24:12 ------------------------------------------------------------------------

Authors: Michael Truog (`mjtruog [at] gmail (dot) com`).

## Description

### Quick Random Number Generation

## Function Index

seed/0 | #### Seed random number generation. .
strong_float/0 | #### Return an Erlang floating point random number (double-precision). return a floating point value between 0.0 and 1.0, inclusive.
strong_uniform/1 | #### Strong uniform random number generation. .
uniform/1 | #### Quick uniform random number generation. Not meant for cryptographic purposes.
uniform/1 |
uniform_cache/1 | #### Quick uniform random number generation with cached data. Not meant for cryptographic purposes.
uniform_cache/1 |
uniform_cache/2 | #### Quick uniform random number generation with cached data. Not meant for cryptographic purposes.
uniform_cache/2 |

## Function Details

### seed/0

`seed() -> ok`

#### Seed random number generation.

### strong_float/0

`strong_float() -> float()`

#### Return an Erlang floating point random number (double-precision).

return a floating point value between 0.0 and 1.0, inclusive

### strong_uniform/1

`strong_uniform(N::pos_integer()) -> pos_integer()`

#### Strong uniform random number generation.

### uniform/1

`uniform(N::pos_integer()) -> pos_integer()`

#### Quick uniform random number generation.

Not meant for cryptographic purposes.

### uniform/1

`uniform(N) -> any()`

### uniform_cache/1

`uniform_cache(N::pos_integer()) -> pos_integer()`

#### Quick uniform random number generation with cached data.

Not meant for cryptographic purposes.

### uniform_cache/1

`uniform_cache(N) -> any()`

### uniform_cache/2

`uniform_cache(N::pos_integer(), State::quickrand_cache:state()) -> {pos_integer(), quickrand_cache:state()}`

#### Quick uniform random number generation with cached data.

Not meant for cryptographic purposes.

### uniform_cache/2

`uniform_cache(N, State) -> any()`

Generated by EDoc, Mar 28 2017, 18:24:12.