sourcelibs/Random/demos/keyed.xtl

1⍝!/usr/bin/env xetal 2"r:" u̲se< "Random" 3⍝ Four zero-based [pixel,sample,interaction,dimension] counter identities. 4identities ← 4 4 r̲eshape 0 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 5"Exact Philox counter words:" 60 ʳs̲ampleKeys identities 7"Canonical 23-bit midpoint samples, exactly representable in binary32/64:" 80 ʳs̲amples identities 9"Unit-square samples mapped to a uniform disk:" 10ʳd̲isk 4 2 r̲eshape 0.0 0.0 1.0 0.0 1.0 0.25 0.25 0.5