[GRASS-dev] r.mapcalc addition
joel.pitt at gmail.com
Sun Oct 22 21:57:06 EDT 2006
It'd be great if someone could commit the attached addition to r.mapcalc
It basically allows one to specify the seed for random number
generation by adding a new function "erand(a,b,s)" which takes a and b
as the lower and upper limit, and s is a seed that is used to initiate
the pseudo random number generator.
This is useful in modelling and simulation so that particular
replicates can be rerun exactly.
If it needs any extra work let me know and I'll make the changes.
patched files (r.mapcalc.diff):
additional file with erand function code:
"Wish not to seem, but to be, the best."
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1546 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20061023/de6fa0c2/rmapcalc.tar.gz
More information about the grass-dev