XL Fortran for AIX 8.1

Language Reference


AIMAG(Z), IMAG(Z)

Imaginary part of a complex number.

Z
must be of type complex.

Class

Elemental function

Result Type and Attributes

Real with the same kind type parameter as Z.

Result Value

If Z has the value (x,y), the result has the value y.

Examples

AIMAG ((2.0, 3.0)) has the value 3.0.


Specific Name Argument Type Result Type Pass As Arg?
AIMAG default complex default real yes
DIMAG (1) double complex double precision real yes
QIMAG (1) COMPLEX(16) REAL(16) yes

Notes:

  1. IBM Extension.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]