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.

qsortQuick sort.Synopsissubroutine qsort(array, len, isize, compar)dimension array(*)integer leninteger isizeexternal comparinteger comparDescriptionqsort sorts the elements of the one dimensional array, array. len is the number of elements in thearray and isize is the size of an element. compar is the name of an integer function that determinesthe sorting order. This function is called with 2 arguments (arg1 and arg2) which are elements ofarray. The function returns:negativezeropositiveif arg1 is considered to precede arg2if arg1 is equivalent to arg2if arg1 is considered to follow arg2rand, irand, srandRandom number generator.Synopsisdouble precision function rand()integer function irand()subroutine srand(iseed)integer iseed3F Functions and VAX Subroutines 273

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

Saved successfully!

Ooh no, something went wrong!