Skip to main content

Functions

  • 116k Accesses

Abstract

The aims of this chapter are:

  • To consider some of the reasons for the inclusion of functions in a programming language.

  • To introduce, with examples, some of the predefined functions available in Fortran.

  • To introduce a classification of intrinsic functions, generic, elemental , transformational.

  • To introduce the concept of a user defined function.

  • To introduce the concept of a recursive function.

  • To introduce the concept of user defined elemental and pure functions.

  • To briefly look at scope rules in Fortran for variables and functions.

  • To look at internal user defined functions.

I can call spirits from the vasty deep. Why so can I, or so can any man; but will they come when you do call for them?

William Shakespeare, King Henry IV, part 1

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_12
  • Chapter length: 22 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). Functions. In: Introduction to Programming with Fortran. Springer, Cham. https://doi.org/10.1007/978-3-319-75502-1_12

Download citation

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

  • 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)