random_number man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]

RANDOM_NUMBER(3I)				       Last changed: 1-6-98

NAME
     RANDOM_NUMBER - Returns pseudorandom numbers

SYNOPSIS
     CALL RANDOM_NUMBER ([HARVEST=]harvest)

IMPLEMENTATION
     UNICOS, UNICOS/mk, and IRIX systems

STANDARDS
     Fortran 90

DESCRIPTION
     The RANDOM_NUMBER intrinsic subroutine returns one pseudorandom number
     or an array of pseudorandom numbers from the uniform distribution over
     the range 0 <= x < 1.  It accepts the following argument:

     harvest   Must be of type real.  It is an output argument.	 It may be
	       a scalar or an array variable.  It is set to contain
	       pseudorandom numbers from the uniform distribution in the
	       interval 0 <= x < 1.

	       On UNICOS and UNICOS/mk systems, harvest is 64 bits.  On
	       IRIX systems, harvest is 32 bits.

     The name of this intrinsic cannot be passed as an argument.

EXAMPLES
	  REAL	X,  Y(10,10)
	  ! Initialize X with a pseudorandom number
	  CALL RANDOM_NUMBER(HARVEST=X)
	  CALL RANDOM_NUMBER(Y)
	  ! X and Y contain uniformly distributed random numbers

SEE ALSO
     RANDOM_SEED(3I), RANF(3I)

     Intrinsic Procedures Reference Manual, publication SR-2138, for the
     printed version of this man page.

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net