Random walking on a torus


/ Published in: C
Save to your folder(s)

% gcc -lm rndwalk-torus.c
% ./a.out 1000 > rnd1.data
% gnuplot
gnuplot> splot "rnd1.data" with line

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.