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.

Return ValueThe return value is a scalar if no DIM argument is present, or has a rank of n-1 and has a shapespecified by all of the dimensions except the DIM argument dimension.The return value is the value of the largest element of the array if no optional parameters aresupplied. If only the MASK parameter is supplied with the array, then the return value is the valuethat is the minimum of the true elements of MASK.When the DIM argument is supplied, the return value is an array that has a value of MINVALapplied recursively along the DIM dimensions of the array.MOD 77Find the remainder.SynopsisMOD(A, P)ArgumentsThe argument A must be an integer or a real. The argument P must be of the same type and kind asA.Return ValueThe return value is the same type as the argument A and has the value (A - INT(A/P) * P).MODULO 90Return the modulo value of the arguments.SynopsisMODULO(A, P)ArgumentsThe argument A must be an integer or a real. The argument P must be of the same type and kind asA.Return ValueThe return value is the same type as the argument A. If A and P are of type real, the result is (A –FLOOR(A/P) * P). If A and P are of type integer, the result is (A – FLOOR(A÷P) * P) where ÷represents ordinary mathematical division.Fortran Intrinsics 229

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

Saved successfully!

Ooh no, something went wrong!