[UP]


Manual Reference Pages  - conjg (3)

NAME

conjg(3f) - [FORTRAN:INTRINSIC:NUMERIC] Complex conjugate function

CONTENTS

Syntax
Description
Arguments
Return Value
Example
Standard
Class

SYNTAX

z = conjg(z)

DESCRIPTION

conjg(z) returns the conjugate of Z. If Z is (x, y) then the result is (x, -y)

ARGUMENTS

Z - The type shall be COMPLEX.

RETURN VALUE

The return value is of type COMPLEX.

EXAMPLE

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

STANDARD

[[FORTRAN 77]] and later

CLASS

[[Elemental procedure|Elemental function]]


conjg (3) March 18, 2019
Generated by manServer 1.08 from a79d3de9-64eb-423e-a027-1cb82d7db915 using man macros.