*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> f90/random_number (3)              
Title
Content
Arch
Section
 

Contents


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

NAME    [Toc]    [Back]

     RANDOM_NUMBER - Returns pseudorandom numbers

SYNOPSIS    [Toc]    [Back]

     CALL RANDOM_NUMBER	([HARVEST=]harvest)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

	  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    [Toc]    [Back]

      
      
     RANDOM_SEED(3I), RANF(3I)

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

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

NAME    [Toc]    [Back]

     RANDOM_NUMBER - Returns pseudorandom numbers

SYNOPSIS    [Toc]    [Back]

     CALL RANDOM_NUMBER	([HARVEST=]harvest)

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

	  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    [Toc]    [Back]

      
      
     RANDOM_SEED(3I), RANF(3I)

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

[ Back ]
 Similar pages
Name OS Title
rand Tru64 Generate pseudorandom numbers
rand_r Tru64 Generate pseudorandom numbers
srand Tru64 Generate pseudorandom numbers
random IRIX 0- generate pseudorandom numbers from a seed
DXmSvnGetSelections Tru64 Retrieves (returns) a list of selected entry numbers.
spacing IRIX Returns the absolute spacing of real model numbers near the argument value
rrspacing IRIX Returns the reciprocal of the relative spacing of numeric model numbers near the argument value
DXmSvnGetDisplayed Tru64 Retrieves (returns) displayed entry numbers and related information necessary to draw a correspondin...
random_seed IRIX Restarts or queries the pseudorandom number generator
erand48 Tru64 Generate uniformly distributed pseudorandom number sequences
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service