package randii

  1. Overview
  2. Docs
A pure OCaml port of the Random123 counter based random number generator from DEShaw Research

Install

Dune Dependency

Authors

Maintainers

Sources

1.0.0.tar.gz
md5=1f8f3a98495497cece0131f11c0297e7
sha512=4377b604e5debe94ba98e980ffdbb92e936306460b7db65eee2d1d5493f0abc12f54982527d49351b8461e3208ac158aed79a932575872956e849a432d058e85

doc/randii.cbrn/Cbrn/Threefry/Gen_4_32/index.html

Module Threefry.Gen_4_32Source

Sourceval of_int_array : int array -> t
Sourceval to_int_array : t -> int array
Sourceval of_string_array : string array -> t
Sourceval to_string_array : t -> string array
Sourceval succ : t -> t
Sourceval pred : t -> t
Sourceval rand : ?rounds:int -> key:t -> ctr:t -> unit -> t
Sourceval uniform : ?upper:int -> ?rounds:int -> key:t -> ctr:t -> unit -> int array
Sourceval uniform01 : ?rounds:int -> key:t -> ctr:t -> unit -> float array
Sourceval draw_from : rand:(?rounds:int -> key:t -> ctr:t -> unit -> t) -> uniform01:(?rounds:int -> key:t -> ctr:t -> unit -> float array) -> uniform:(?upper:int -> ?rounds:int -> key:t -> ctr:t -> unit -> int array) -> key:t -> ctr:t -> Cbrn__Types.kind -> string array
Sourceval digits : int
Sourceval is_zero : t -> bool
OCaml

Innovation. Community. Security.