I'm trying to implement a simple random walk equation

x_(i+1) = x_i + alpha * r_i

where r_i is random.random() and alpha is a float.

I've been looking through the examples, and I would like to avoid writing SourceModule and just stick with the gpuarray stuff.

Any tips on how to get started?

Any help much appreciated.

Thanks!



_______________________________________________
PyCUDA mailing list
PyCUDA@tiker.net
http://lists.tiker.net/listinfo/pycuda

Reply via email to