12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Return ValueThe return value is the product of the elements of ARRAY. If the optional DIM argument ispresent, the product is for the specified dimension. If the optional MASK argument is present, theresult is subject to the logical mask supplied.RADIX 90Return the base of the mo<strong>del</strong> representing numbers of the type and kind of the argument.SynopsisRADIX(X)ArgumentThe argument X is of type integer or real.Return ValueThe return value is an integer with the value of the radix (base) of the number system mo<strong>del</strong> of theargument.RANDOM_NUMBER 90Returns one pseudorandom number or an array of pseudo-random numbers from the uniformdistribution over the range 0 ≤ x < 1.SynopsisRANDOM_NUMBER(HARVEST)ArgumentThe argument HARVEST must of type real. It is set to contain the resulting pseudorandom numberor array of pseudorandom numbers from the uniform distribution.Return ValueRANDOM_NUMBER is a subroutine.DescriptionThe random number intrinsic generates a 46 bit lagged fibonacci pseudo-random sequence with ashort lag of 5 and a long lag of 17. For a given seed, including the default seed, the sequencegenerated is independent of the platform and number of processors. Due to limitations of someplatforms' default integer type, the seed vector is of size 34. Only the least significant 23 bits of234 Chapter 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!