r.surf.random.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <h2>DESCRIPTION</h2>
  2. <b>r.surf.random</b> produces a raster map layer of uniform random deviates
  3. whose range can be expressed by the user. It is essentialy the same as
  4. <em>r.surf.gauss</em>, but uses a linear random number generator instead.
  5. It uses the random number generator drand48() or rand()<!-- cite? -->,
  6. depending on the user's platform.
  7. <p><center>
  8. <img src="r_surf_random_hist.png" alt="r.surf.random map histogram"><br>
  9. <i>Histogram of map generated with r.surf.random</i>
  10. </center>
  11. <h2>EXAMPLE</h2>
  12. <div class="code"><pre>
  13. g.region -p n=228500 s=215000 w=630000 e=645000 res=10
  14. r.surf.random out=random min=0 max=100
  15. # check result
  16. r.univar random
  17. </pre></div>
  18. <h2>SEE ALSO</h2>
  19. <em>
  20. <a href="r.random.surface.html">r.random.surface</a>,
  21. <a href="r.surf.contour.html">r.surf.contour</a>,
  22. <a href="r.surf.fractal.html">r.surf.fractal</a>,
  23. <a href="r.surf.gauss.html">r.surf.gauss</a>,
  24. <a href="r.surf.idw.html">r.surf.idw</a>,
  25. <a href="v.surf.rst.html">v.surf.rst</a>
  26. </em>
  27. <h2>AUTHOR</h2>
  28. Jo Wood<br>
  29. Midlands Regional Research Laboratory (ASSIST)<br>
  30. University of Leicester<br>
  31. <i>October 1991</i>
  32. <br>
  33. <!-- almost certainly no longer valid
  34. <address>jwo at le.ac.uk</address>
  35. <br><a href="http://www.geog.le.ac.uk/assist/index.html">ASSIST's home</a>
  36. -->
  37. <p><i>Last changed: $Date$</i>