this function generates #num random numbers using the xorshift method through a vector with size num. the seed for this generator is set automatically with each time the function is called. this method is a fast, reliable and easy to implement method and a simple implementation of it can pass many PRNG tests like BigCrush suite
1 | xorShift(num)
|
1 | xorShift(2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.