Maptitude GISDK Help |
Generates a random number between 0.0 and 1.0.
rand_value = RandomNumber()
A pseudo-random real number between 0.0 and 1.0.
When Maptitude is initialized there is a call to SetRandomSeed() with a "random" seed based on the current time.
You can call SetRandomSeed() with a particular seed value, which will always create the same sequence of random numbers. This is useful when testing a procedure, so that results will be comparable.
If another macro calls SetRandomSeed(), that will start another sequence of random numbers for all calls to RandomNumber().
Function |
Summary |
Return an array of random samples of the given type of random distribution and parameters defined in the options array |
|
Seeds the RandomNumber() function |
©2025 Caliper Corporation | www.caliper.com |