conjg(3f) - [FORTRAN:INTRINSIC:NUMERIC] Complex conjugate function
Syntax
Description
Arguments
Return Value
Example
Standard
Class
z = conjg(z)
conjg(z) returns the conjugate of Z. If Z is (x, y) then the result is (x, -y)
Z - The type shall be COMPLEX.
The return value is of type COMPLEX.
Sample program:
program demo_conjg complex :: z = (2.0, 3.0) complex(8) :: dz = (2.71_8, -3.14_8) z= conjg(z) print *, z dz = dconjg(dz) print *, dz end program demo_conjg
[[FORTRAN 77]] and later
[[Elemental procedure|Elemental function]]
conjg (3) | March 18, 2019 |