06.03.2014 Views

Intel Fortran Language Reference - NCI National Facility

Intel Fortran Language Reference - NCI National Facility

Intel Fortran Language Reference - NCI National Facility

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

9 <strong>Intel</strong> <strong>Fortran</strong> <strong>Language</strong> <strong>Reference</strong><br />

Table 9-2 Categories of Intrinsic Functions<br />

Category Subcategory Description<br />

Miscellaneous<br />

Manipulation<br />

Reduction<br />

Let you shift an array, transpose an array, or change the shape of an<br />

array: CSHIFT, EOSHIFT, RESHAPE, TRANSPOSE<br />

Perform operations on arrays. The functions "reduce" elements of a<br />

whole array to produce a scalar result, or they can be applied to a<br />

specific dimension of an array to produce a result array with a rank<br />

reduced by one: ALL, ANY, COUNT, MAXVAL, MINVAL, PRODUCT<br />

Do the following:<br />

• Check for pointer association (ASSOCIATED)<br />

• Return an address (BADDRESS)<br />

• Return the size of a level of the memory cache (CACHESIZE)<br />

• Check for end-of-file (EOF)<br />

• Return error functions (ERF and ERFC)<br />

• Return the class of a floating-point argument (FP_CLASS)<br />

• Return a pointer to an actual argument list for a routine<br />

(IARGPTR)<br />

• Return the INTEGER KIND that will hold an address<br />

(INT_PTR_KIND)<br />

• Test for Not-a-Number values (ISNAN)<br />

• Return the internal address of a storage item (LOC)<br />

• Return a logical value of an argument (LOGICAL)<br />

• Allocate memory (MALLOC)<br />

• Return the upper 64 bits of a 128-bit unsigned result<br />

(MULT_HIGH)<br />

• Return a disassociated pointer (NULL)<br />

• Check for argument presence (PRESENT)<br />

• Convert a bit pattern (TRANSFER)<br />

1. All of the numeric manipulation and many of the numeric inquiry functions are defined by the model sets for integers (“Model for Integer Data”)<br />

and reals (“Model for Real Data”).<br />

2. The value of the argument does not have to be defined.<br />

3. For more information on bit functions, see “Bit Functions”.<br />

4. The <strong>Intel</strong> <strong>Fortran</strong> processor character set is ASCII, so ACHAR = CHAR and IACHAR = ICHAR.<br />

Table 9-3 summarizes the generic intrinsic functions and indicates whether they are elemental,<br />

inquiry, or transformational functions. Optional arguments are shown within square brackets.<br />

9-6

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

Saved successfully!

Ooh no, something went wrong!