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.

DescriptionThe functions rand and irand generates successive pseudo-random integers or double precisionnumbers. srand uses its argument, iseed, to re-initialize the seed for successive invocations of randand irand.irand returns a positive integer in the range 0 through 2147483647.rand returns a value in the range 0 through 1.0.random, irandm, drandmReturn the next random number value. If the argument, flag , is nonzero, the random numbergenerator is restarted before the next random number is generated. Integer values will range from 0thru 2147483647; floating point values will range from 0.0 thru 1.0.Synopsisreal function random(flag)integer flaginteger function irandm(flag)integer flagdouble precision function drandm(flag)integer flagrangeRange functions.Synopsisreal function flmin()real function flmax()real function ffrac()double precision function dflmin()double precision function dflmax()double precision function dffrac()integer function inmax()274 Chapter 7

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

Saved successfully!

Ooh no, something went wrong!