package orgeat

  1. Overview
  2. Docs

Module Sampler.BoltzmannSource

Parameters

module K : Scalar.S

Signature

Sourcemodule P : sig ... end
Sourcemodule S_applied : sig ... end
Sourcemodule S : sig ... end
Sourcetype 'a sampler = K.t -> Random.State.t -> int * 'a

The first parameter is a real between 0 and rc that controls the size of the generated objects.

Sourcetype 'a info = {
  1. gen : 'a sampler;
  2. f : S.t;
}
Sourceval eval : P.t Orgeat__Species.s -> K.t -> K.t
Sourceval zero : 'a info
Sourceval one : unit info
Sourceval z : unit info
Sourceval scalar : K.t -> unit info
Sourceval info_of_sampler : (Random.State.t -> 'a) -> 'a info
Sourceval of_list : 'a list -> Random.State.t -> 'a
OCaml

Innovation. Community. Security.