Skip to main content

The Data Type COMPLEX

  • Chapter
Introduction to FORTRAN 77
  • 61 Accesses

Abstract

Up to now when dealing with arithmetic expressions we have only considered the data types DOUBLE PRECISION, INTEGER, and REAL. In addition to this, full Fortran 77 is capable of dealing with arithmetic expressions containing complex values.⋆) In general, complex numbers are represented by the following forms:

$$ z = x + iy $$

with

$$ i = \sqrt { - 1} $$

In Fortran, complex values are arranged in pairs of values:

$$z = (x,y)$$

where

  • x represents the real part and

  • y represents the imaginary part.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1986 Friedr. Vieweg & Sohn Verlagsgesellschaft mbH, Braunschweig

About this chapter

Cite this chapter

Lamprecht, G. (1986). The Data Type COMPLEX. In: Introduction to FORTRAN 77. Vieweg+Teubner Verlag. https://doi.org/10.1007/978-3-322-89421-2_12

Download citation

  • DOI: https://doi.org/10.1007/978-3-322-89421-2_12

  • Publisher Name: Vieweg+Teubner Verlag

  • Print ISBN: 978-3-528-03360-6

  • Online ISBN: 978-3-322-89421-2

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics