Reputation: 344
I know that i can create a random float by calling rand() to generate a (psuedo-)random float between 0 and 1. But what is the best way to create an array of size n of random float between 0 and 1 without using a loop? Thanks!
Upvotes: 1
Views: 256