Article View: comp.lang.fortran
Article #4454Re: intrinsic function for the imaginary part and conjugate?
From: Dave Seaman
Date: Thu, 21 Jan 1993 22:34
Date: Thu, 21 Jan 1993 22:34
22 lines
1274 bytes
1274 bytes
In article <C183Gu.7MK@athena.cs.uga.edu> shen@athena.cs.uga.edu (Mingzuo Shen) writes: > Hi all, > > 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? I have not seen Metcalf's book, but the Fortran 77 standard says the generic function REAL, when given a complex argument, returns the real part. > More seriously(?), the instrinsic function for complex > conjugate is also AIMAG? I am sure this is a typo or something. According to the standard, the complex conjugate function is called CONJG. -- Dave Seaman ags@seaman.cc.purdue.edu
Technical Details
Message-ID:
<C186q7.9wD@mentor.cc.purdue.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!purdue!mentor.cc.purdue.edu!newsReferences:
<C183Gu.7MK@athena.cs.uga.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.fortran Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!purdue!mentor.cc.purdue.edu!news From: ags@seaman.cc.purdue.edu (Dave Seaman) Subject: Re: intrinsic function for the imaginary part and conjugate? Message-ID: <C186q7.9wD@mentor.cc.purdue.edu> Sender: news@mentor.cc.purdue.edu (USENET News) Organization: Purdue University References: <C183Gu.7MK@athena.cs.uga.edu> Distribution: usa Date: Thu, 21 Jan 1993 22:34:55 GMT Lines: 22