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

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

Contents


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

NAME    [Toc]    [Back]

     RANDOM_SEED - Restarts or queries the pseudorandom	number generator

SYNOPSIS    [Toc]    [Back]

     CALL RANDOM_SEED ([[SIZE=]size] [,[PUT=]put] [,[GET=]get])

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The RANDOM_SEED intrinsic subroutine restarts or queries the
     pseudorandom number generator used	by RANDOM_NUMBER.  It accepts the
     following arguments (note that there must be exactly one argument or
     no	arguments present):

     size    Must be scalar and	of type	integer.  It is	an output argument.
	     It	is set to the number N of integers that	the processor uses
	     to	hold the value of the seed.

     put     Must be an	integer	array of rank one and size >= N.  It is	an
	     input argument.  It is used to set	the seed value.

     get     Must be an	integer	array of rank one and size >= N.  It is	an
	     output argument.  It is set to the	current	value of the seed.

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

EXAMPLES    [Toc]    [Back]

	  CALL RANDOM_SEED			    ! initization of seed
	  CALL RANDOM_SEED(SIZE	= K)		    ! Sets K = N
	  CALL RANDOM_SEED(PUT = SEEDARRAY(1:K))    ! Set user seed
	  CALL RANDOM_SEED(GET = OLDSEED(1:K))	    ! Get current seed

SEE ALSO    [Toc]    [Back]

      
      
     RANDOM_NUMBER(3I)

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

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

NAME    [Toc]    [Back]

     RANDOM_SEED - Restarts or queries the pseudorandom	number generator

SYNOPSIS    [Toc]    [Back]

     CALL RANDOM_SEED ([[SIZE=]size] [,[PUT=]put] [,[GET=]get])

IMPLEMENTATION    [Toc]    [Back]

     UNICOS, UNICOS/mk,	and IRIX systems

STANDARDS    [Toc]    [Back]

     Fortran 90

DESCRIPTION    [Toc]    [Back]

     The RANDOM_SEED intrinsic subroutine restarts or queries the
     pseudorandom number generator used	by RANDOM_NUMBER.  It accepts the
     following arguments (note that there must be exactly one argument or
     no	arguments present):

     size    Must be scalar and	of type	integer.  It is	an output argument.
	     It	is set to the number N of integers that	the processor uses
	     to	hold the value of the seed.

     put     Must be an	integer	array of rank one and size >= N.  It is	an
	     input argument.  It is used to set	the seed value.

     get     Must be an	integer	array of rank one and size >= N.  It is	an
	     output argument.  It is set to the	current	value of the seed.

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

EXAMPLES    [Toc]    [Back]

	  CALL RANDOM_SEED			    ! initization of seed
	  CALL RANDOM_SEED(SIZE	= K)		    ! Sets K = N
	  CALL RANDOM_SEED(PUT = SEEDARRAY(1:K))    ! Set user seed
	  CALL RANDOM_SEED(GET = OLDSEED(1:K))	    ! Get current seed

SEE ALSO    [Toc]    [Back]

      
      
     RANDOM_NUMBER(3I)

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

[ Back ]
 Similar pages
Name OS Title
lcong48_r Tru64 Generate uniformly distributed pseudorandom number sequences
srand48_r Tru64 Generate uniformly distributed pseudorandom number sequences
srand48 Tru64 Generate uniformly distributed pseudorandom number sequences
seed48_r Tru64 Generate uniformly distributed pseudorandom number sequences
lrand48_r Tru64 Generate uniformly distributed pseudorandom number sequences
mrand48_r Tru64 Generate uniformly distributed pseudorandom number sequences
seed48 Tru64 Generate uniformly distributed pseudorandom number sequences
mrand48 Tru64 Generate uniformly distributed pseudorandom number sequences
nrand48 Tru64 Generate uniformly distributed pseudorandom number sequences
nrand48_r Tru64 Generate uniformly distributed pseudorandom number sequences
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service