Commits

bergsoe committed 3bb1834

New Q.uniform_standard utility.

  • Participants
  • Parent commits fcce6e5

Comments (0)

Files changed (2)

src/PaplSBLExpand.ml

               loop 0
           end
         in BatEnum.from next
+
+  let uniform_standard ?rng n outer_box offset =
+    let inner_boxes = standard_boxes_by_offset n offset in
+      uniform_within_boxes ?rng outer_box inner_boxes
 end
 
 module V2D = struct

src/PaplSBLExpand.mli

 
   val uniform_within_boxes :
     ?rng:rng_t -> box_t -> box_t array -> t expand_sampler_t
+
+  val uniform_standard :
+    ?rng:rng_t -> int -> box_t -> t -> t expand_sampler_t
 end
 
 module V2D : sig