4 votes
Accepted

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 ...
user avatar
3 votes
Accepted

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 ...
user avatar
  • 981
1 vote
Accepted

Trying to do a 2D random walk for a particle

You are only moving in one direction for each axis. ...
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 ...
user avatar
  • 3,131

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