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.

ArgumentsAny arguments after the first two are optional. The arguments must all have the same kind andthey must be integer or real.Return ValueThe return value is the same as the type and kind of the arguments. It has the value of the largestargument.MAXEXPONENT 90Returns the value of the maximum exponent for the type and the kind supplied.SynopsisMAXEXPONENT(X)ArgumentThe argument X must be a scalar or an array of type real.Return ValueThe return value is an integer. It contains the value of the largest exponent in the specified kind.MAXLOC 90Determine the first position in the specified array that has the maximum value of the values in thearray. The test elements may be limited by a dimension argument or by a logical mask argument.SynopsisMAXLOC(ARRAY [,DIM] [,MASK])ArgumentsThe argument ARRAY must be an array of type integer or real. The optional argument DIM, addedin Fortran 95, is of type integer. The optional argument MASK must be of type logical and musthave the same shape as ARRAY. If only two arguments are supplied, the type of the secondargument is used to determine if it represents DIM or MASK.Return ValueThe return value is an integer array of rank 1with size equal to the number of dimensions inARRAY. The return values represent the positions of the first element in each dimension that is themaximum value of that dimension.Fortran Intrinsics 225

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

Saved successfully!

Ooh no, something went wrong!