10.07.2015 Views

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

PGI Fortran Reference manual - The Portland Group

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.

<strong>Fortran</strong> Intrinsics6.1.3. <strong>Fortran</strong> 90/95 Vector/Matrix FunctionsGeneric NamePurposeNum.Args Argument Type Result TypeDOT_PRODUCT Perform dot product on two vectors 2 NONCHAR*K, NONCHAR*K NONCHAR*KMATMULPerform matrix multiply on twomatrices2 NONCHAR*K, NONCHAR*K NONCHAR*K6.1.4. <strong>Fortran</strong> 90/95 Array Reduction FunctionsGenericNameALLANYCOUNTPurposeDetermine if all array values are trueDetermine if any array value is trueCount true values in arrayNum.Args Argument Type Result Type1 LOGICAL LOGICAL2 LOGICAL, INTEGER LOGICAL1 LOGICAL LOGICAL2 LOGICAL, INTEGER LOGICAL1 LOGICAL INTEGER2 LOGICAL, INTEGER INTEGERMAXLOCDetermine position of array elementwith maximum value12INTEGERINTEGER, LOGICALINTEGER2INTEGER, INTEGER3INTEGER, INTEGER, LOGICAL1REAL2REAL, LOGICAL2REAL, INTEGER3REAL, INTEGER, LOGICALMAXVALDetermine maximum value of arrayelements12INTEGERINTEGER, LOGICALINTEGERINTEGER2INTEGER, INTEGERINTEGER3INTEGER, INTEGER, LOGICALINTEGER1REALREAL2REAL, LOGICALREAL2REAL, INTEGERREAL3REAL, INTEGER, LOGICALREALMINLOCDetermine position of array elementwith minimum value12INTEGERINTEGER, LOGICALINTEGER2INTEGER, INTEGER3INTEGER, INTEGER, LOGICAL1REAL<strong>PGI</strong> <strong>Fortran</strong> <strong>Reference</strong> Guide 92

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

Saved successfully!

Ooh no, something went wrong!