title: Generating random numbers with uniform distribution using Thrust
body: <p>I need to generate a vector with random numbers between <code>0.0</code> and <code>1.0</code> using <code>Thrust</code>. The only documented example I could find produces very large random numbers (<code>thrust::generate(myvector.begin(), myvector.end(), rand</code>).
  I'm sure the answer is simple, but I would appreciate any suggestions.</p>