Anonymous user
Monte Carlo methods: Difference between revisions
→{{header|Futhark}}
Line 669:
<lang Futhark>
default(f32)
Line 710:
let rand_nums = map (sobolIndR (dirvcts())) (iota n)
let dists = map (\xy ->
let (x,y) = (xy[0],xy[1]) in
rand_nums
|