![]() |
![]()
| ![]() |
![]()
NAMErandom - generates a random number between two specified values SYNOPSISrandom [-s seed] [-g [-c center]] [-u] [-v] low high DESCRIPTIONrandom generates a random number between the two values given by low and high, which are required arguments. The number can be uniform across the entire range or it can be a gaussian distribution around the center of the range (or a named center). The -s option specifies what integer seed to use to prime the random number generator. The -u option specifies that the random number distribution should be uniform across the low-to-high range. The -g option specifies that the random number distribution should be a gaussian distribution around a default or named center, specified with the -c option. If neither -u nor -g is specified, -u will be used. The -v option specifies verbose diagnostic output. EXAMPLESrandom 0 100 random -g 40 2000 AUTHORBRL-CAD Team COPYRIGHTThis software is Copyright (c) 2010-2021 by the United States Government as represented by U.S. Army Research Laboratory. BUG REPORTSReports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
|