AIMAG(Z)
yields the imaginary part of complex argument Z
. The IMAG(Z)
and IMAGPART(Z)
intrinsic functions are provided for compatibility with g77
, and their use in new code is strongly discouraged.
Fortran 77 and later, has overloads that are GNU extensions
Elemental function
RESULT = AIMAG(Z)
Z | The type of the argument shall be COMPLEX . |
The return value is of type REAL
with the kind type parameter of the argument.
Name | Argument | Return type | Standard |
AIMAG(Z) |
COMPLEX Z |
REAL |
Fortran 77 and later |
DIMAG(Z) |
COMPLEX(8) Z |
REAL(8) |
GNU extension |
IMAG(Z) |
COMPLEX Z |
REAL |
GNU extension |
IMAGPART(Z) |
COMPLEX Z |
REAL |
GNU extension |
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/AIMAG.html