Skip to main content

Introduction to Derived Types

  • 116k Accesses

Abstract

The aim of this chapter is to introduce the concepts and ideas involved in using the facilities offered in modern Fortran for the construction and use of derived or user defined types;

  • defining our own types.

  • declaring variables to be of a user defined type.

  • manipulating variables of our own types.

  • nesting types within types.

Russell’s theory of types leads to certain complexities in the foundations of mathematics...Its interesting features for our purposes are that types are used to prevent certain erroneous expressions from being used in logical and mathematical formulae; and that a check against violation of type constraints can be made purely by scanning the text, without any knowledge of the value which a particular symbol might happen to have

C.A.R. Hoare, Structured Programming

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-319-75502-1_17
  • Chapter length: 8 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   84.99
Price excludes VAT (USA)
  • ISBN: 978-3-319-75502-1
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   109.99
Price excludes VAT (USA)
Hardcover Book
USD   159.99
Price excludes VAT (USA)

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ian Chivers .

Rights and permissions

Reprints and Permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this chapter

Verify currency and authenticity via CrossMark

Cite this chapter

Chivers, I., Sleightholme, J. (2018). Introduction to Derived Types. In: Introduction to Programming with Fortran. Springer, Cham. https://doi.org/10.1007/978-3-319-75502-1_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-75502-1_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-75501-4

  • Online ISBN: 978-3-319-75502-1

  • eBook Packages: Computer ScienceComputer Science (R0)