package orgeat

  1. Overview
  2. Docs

Parameters

module K : Scalar.S

Signature

module P : sig ... end
module S_applied : sig ... end
module S : sig ... end
type '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.

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

Innovation. Community. Security.