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

Class: Elemental function; Generic<br />

Arguments: x must be of type real.<br />

Results: The result type is the same as x.<br />

Specific Name Argument Type Result Type<br />

ASINH REAL(4) REAL(4)<br />

DASINH REAL(8) REAL(8)<br />

QASINH REAL(16) REAL(16)<br />

Example<br />

ASINH (180.0) has the value 5.88611.<br />

ASSOCIATED<br />

Description:<br />

Syntax:<br />

Class:<br />

Arguments:<br />

pointer<br />

target (opt)<br />

Results:<br />

Returns the association status of its pointer argument or indicates whether the<br />

pointer is associated with the target.<br />

result = ASSOCIATED (pointer [, target])<br />

Inquiry function; Generic<br />

Must be a pointer (of any data type).<br />

Must be a pointer or target.<br />

The result is a scalar of type default logical. The setting of compiler options<br />

specifying integer size can affect this function.<br />

If only pointer appears, the result is true if it is currently associated with a<br />

target; otherwise, the result is false.<br />

If target also appears and is a target, the result is true if pointer is currently<br />

associated with target; otherwise, the result is false.<br />

If target is a pointer, the result is true if both pointer and target are currently<br />

associated with the same target; otherwise, the result is false. (If either pointer<br />

or target is disassociated, the result is false.)<br />

Examples<br />

Consider the following:<br />

REAL, TARGET, DIMENSION (0:50) :: TAR<br />

REAL, POINTER, DIMENSION (:) :: PTR<br />

9-28

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

Saved successfully!

Ooh no, something went wrong!