🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.fortran
Article #4456

Re: intrinsic function for the imaginary part and conjugate?

#4456
From: Kelly D. Crawford
Date: Thu, 21 Jan 1993 22:17
22 lines
1450 bytes
In article <C183Gu.7MK@athena.cs.uga.edu>, shen@athena.cs.uga.edu (Mingzuo Shen) writes:
>
>     Metcalf's book (Effective Fortran, 1985) has a list of
> intrinsic functions. Among them, the intrinsic function for
> obtaining the imaginary part of a complex number is AIMAG,
> which makes sense. However, there is no intrinsic function
> for obtaining the real part of a complex number?
> 
>     More seriously(?), the instrinsic function for complex
> conjugate is also AIMAG? I am sure this is a typo or something.

To get the real part of a complex number, use the intrinsic function REAL.
To get the conjugate of a complex argument, use the intrinsic function CONJG.

Kelly

-- 
Kelly D. Crawford             | Amoco Production Research | These are my own
kcrawford@trc.amoco.com       | 4502 East 41st Street     | opinions, not
phone: (918) 660-4043         | Tulsa, OK  74102          | Amoco's...
          >>> *** This line intentionally left blank *** <<<
Technical Details
Message-ID: <1993Jan21.161751@trc.amoco.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!drd!apctrc!zkdc05
References: <C183Gu.7MK@athena.cs.uga.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.fortran
Path: arc1-ca.pugleaf.net!sparky!uunet!drd!apctrc!zkdc05
From: zkdc05@trc.amoco.com (Kelly D. Crawford)
Subject: Re: intrinsic function for the imaginary part and conjugate?
Message-ID: <1993Jan21.161751@trc.amoco.com>
Originator: zkdc05@church
Sender: usenet@trc.amoco.com
Organization: Amoco Production Company, Tulsa Research
References:  <C183Gu.7MK@athena.cs.uga.edu>
Distribution: usa
Date: Thu, 21 Jan 1993 22:17:51 GMT
Lines: 22