Portability | portable |
---|---|
Stability | experimental |
Safe Haskell | Safe-Inferred |
Computing pseudorandom 64-bit words. We use RC5 as a basis for our PRG.
Documentation
:: Word64 | bw, size of unit vector. |
-> Word64 | nb, size of control vector. |
-> Integer | Seed. |
-> ([Double], [Double]) | (unit vector, control vector). |
Random unit vector and control vector, with specified size.
Same random sequence will returned with same seed, so that sketch distance could be calculated with same random sequence.