GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RANDOM(1) BRL-CAD RANDOM(1)

random - generates a random number between two specified values

random [-s seed] [-g [-c center]] [-u] [-v] low high

random 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.

random 0 100
random -g 40 2000

BRL-CAD Team

This software is Copyright (c) 2010-2021 by the United States Government as represented by U.S. Army Research Laboratory.

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org

07/04/2025 BRL-CAD

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.