[GRASS-dev] r.mapcalc addition

Joel Pitt joel.pitt at gmail.com
Sun Oct 22 21:57:06 EDT 2006

Hi all,

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."
                -- Aeschylus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rmapcalc.tar.gz
Type: application/x-gzip
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 mailing list