home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / fortran / 5118 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.4 KB  |  36 lines

  1. Newsgroups: comp.lang.fortran
  2. Path: sparky!uunet!drd!apctrc!zkdc05
  3. From: zkdc05@trc.amoco.com (Kelly D. Crawford)
  4. Subject: Re: intrinsic function for the imaginary part and conjugate?
  5. Message-ID: <1993Jan21.161751@trc.amoco.com>
  6. Originator: zkdc05@church
  7. Sender: usenet@trc.amoco.com
  8. Organization: Amoco Production Company, Tulsa Research
  9. References:  <C183Gu.7MK@athena.cs.uga.edu>
  10. Distribution: usa
  11. Date: Thu, 21 Jan 1993 22:17:51 GMT
  12. Lines: 22
  13.  
  14.  
  15. In article <C183Gu.7MK@athena.cs.uga.edu>, shen@athena.cs.uga.edu (Mingzuo Shen) writes:
  16. >
  17. >     Metcalf's book (Effective Fortran, 1985) has a list of
  18. > intrinsic functions. Among them, the intrinsic function for
  19. > obtaining the imaginary part of a complex number is AIMAG,
  20. > which makes sense. However, there is no intrinsic function
  21. > for obtaining the real part of a complex number?
  22. >     More seriously(?), the instrinsic function for complex
  23. > conjugate is also AIMAG? I am sure this is a typo or something.
  24.  
  25. To get the real part of a complex number, use the intrinsic function REAL.
  26. To get the conjugate of a complex argument, use the intrinsic function CONJG.
  27.  
  28. Kelly
  29.  
  30. -- 
  31. Kelly D. Crawford             | Amoco Production Research | These are my own
  32. kcrawford@trc.amoco.com       | 4502 East 41st Street     | opinions, not
  33. phone: (918) 660-4043         | Tulsa, OK  74102          | Amoco's...
  34.           >>> *** This line intentionally left blank *** <<<
  35.