4 votes

Running a Random Number generator in parallel? Will this speed up a computation?

The random number generator is rarely the limiting factor in computational science. RNGs are usually quite simple and fast, a few dozen instructions, really. If you are doing anything even remotely ...
Wolfgang Bangerth's user avatar
3 votes

In a random walk simulation, how do I get the mean and standard deviation of how many times the walk returns to the origin?

At the moment, you aren't tracking the number of times a walk reaches zero or even if a walk reaches zero at any point. Your Move function returns the last position ...
Tyberius's user avatar
  • 1,023
1 vote

Trying to do a 2D random walk for a particle

You are only moving in one direction for each axis. ...
CLP's user avatar
  • 68
1 vote

Need software for generating self-avoiding random walks on a tetrahedral lattice

I fixed the compilation issues in the Roulattice package you mentioned and it now compiles and seems to do stuff. Most of the issues were easily solvable, though there's an uninitialized memory error ...
Richard's user avatar
  • 3,961

Only top scored, non community-wiki answers of a minimum length are eligible