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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

COUNT 90Return the number of true elements in the supplied logical argument (array), along the specifieddimension if the optional argument is present.SynopsisCOUNT(MASK [,DIM])ArgumentsThe argument MASK is an array of type LOGICAL. The optional argument DIM specifies thedimension of the array MASK to count.Return ValueIf no DIM argument is present, the return value is an integer that is the count of true values inMASK.If the DIM argument is present and if MASK has rank one, then the return value is the same asCOUNT(MASK).If the DIM argument is present and MASK has rank greater than one, then the return value is anarray that has rank n-1, where n is the rank of MASK. The return value is defined recursively asthe value of COUNT for each extent of the dimension DIM (refer to The Fortran 95 Handbook fora more detailed explanation).CPU_TIME 95This is a non-elemental intrinsic subroutine that returns the processor time. For a more detailedexplanation, refer to Fortran 95 Explained.Synopsiscall cpu_time (TIME)ArgumentsThe argument TIME is a scalar real that is assigned a processor-dependent approximation ofprocessor time.Return ValueThe returned value in seconds, or a processor-dependent value if there is no clock.204 Chapter 6

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

Saved successfully!

Ooh no, something went wrong!