Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
RANDOM(1)			    BRL-CAD			     RANDOM(1)

NAME
       random -	generates a random number between two specified	values

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

DESCRIPTION
       random generates	a random number	between	the two	values given. 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. The -v option specifies verbose diagnostic output.

EXAMPLES
	   random 0 100
	   random -g 40	2000

AUTHOR
       BRL-CAD Team

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

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

BRL-CAD				  07/08/2017			     RANDOM(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLES | AUTHOR | COPYRIGHT | BUG REPORTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=random&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help