RandPCG v0.1.1 RandPCG.State View Source

Struct to hold the seed and incrimenter

Link to this section Summary

Types

t()

Struct to hold the seed and incrimenter

Functions

Generates a new seed based on :os.system_time(:micro_seconds)

Generates a new state with seed based on :os.system_time(:micro_seconds)

Link to this section Types

Link to this type t() View Source
t() :: %RandPCG.State{inc: non_neg_integer, seed: RandPCG.uint64}

Struct to hold the seed and incrimenter

Link to this section Functions

Generates a new seed based on :os.system_time(:micro_seconds)

Generates a new state with seed based on :os.system_time(:micro_seconds)