Introduction to programming with Fortran 95

Introduction to programming with Fortran 95. This tutorial aim to provide an introduction to programming with Fortran 95. Fortran is particularly suitable for science and engineering.

Fortran is a programming language designed in the 1950s for scientific computing. It continues to be widely used in the field of scientific research for intensive computing. Unlike more advanced languages, the flow of individual machine operations remains relatively controllable in the language, which makes it possible to write codes that are relatively efficient in terms of calculation. Fortran has evolved a lot in recent years with the appearance of the Fortran 90 standard.

The recent norms (Fortran 95) are much richer but also much more difficult to understand than the Fortran 77 norm. We thus present here the fundamental bases of Fortran based mainly on Fortran 77 but using (implicitly or explicitly) some progress significant from the 90-95 standard.

 

Table of contents

  • The basics
  • Install Fortran 95
  • Your first program
  • A programming environment
  • Running your first Fortran 95 program
  • Program structure
  • Intrinsic Functions
  • Macking decision
  • Multiple conditions
  • Loops
  • Using files and extending decision
  • Arrays and formatted I/O
  • Subroutines and Functions
  • Advanced topics
  • Array Functions
  • Table extensions
  • Definitions (rank, profile, range, ...)
  • Manipulations of tables (conformance, constructor, section, size, ...)
  • Argument table of a procedure (size and profile implicit)
  • Non-contiguous array section as an argument to a procedure
  • Intrinsic functions tables
  • Query (maxloc, lbound, shape, ..)
  • Reduction (all, any, count, sum, ...)
  • Multiplication (matmul, dot_product, ...)

Functions on tables

COUNT: Returns the number of TRUE elements in the mask: count (A> 0.)
ALL (MASK): Returns TRUE if all the elements of the mask are true: ALL (A <10.)
ANY (MASK): Returns TRUE if at least one element of the mask is true: ALL (A = 1.)
MAXVAL (A, MASK): Returns the maximum value of A hidden.
MINVAL (A, MASK): Returns the minimum value of A hidden.
PRODUCT (A, MASK): Returns the product of the elements of masked A.
SUM (A, MASK): Returns the sum of the elements of A masked.
MERGE (A, B, MASK): Returns an array containing A where the mask is TRUE

Size : 420.993 Kb
File type : pdf
Downloads: 391
Created: 2018-05-21
Introduction to programming with Fortran 95

Others Fortran Tutorials

Fortran 90/95 Programming Manual

Introduction to Programming using Fortran 95/2003/2008

Beginner Fortran 90 tutorial

Getting started with Fortran language

Programming in Fortran 95

Others related eBooks about Introduction to programming with Fortran 95

Getting started with vbscript

Download free vbscript tutorial course in PDF, training file in 10 chapters and 29 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Happy Learn Haskell Tutorial

This book provides a tutorial to get started using Haskell and takes a no-prerequisites approach to teaching the basics of a modern general-purpose programming language. It teaches you new techniques of Haskell development as well as providing useful code for reuse in your own projects. ...

Python Notes for Professionals

This book goes beyond the basics to teach beginner- and intermediate-level Python programmers the little-known tools and constructs that build concise, maintainable code. Design better architecture and write easy-to-understand code using highly adoptable techniques that result in more robust and eff...

Getting started with JSF2

Free Pdf tutorial about the basics of JSF and Eclipse ,training document for beginners under 28 pages to learn how to install and setup JSF....

The Rook's Guide to C++

This Creative Commons-licensed textbook written by Norwich University students and faculty aims to provide an introduction to the C++ programming language. The PDF and original typesetting materials are available if you are interested in having a free digital copy of your own or if you wish to contr...

IPython Interactive Computing and Visualization Cookbook

Download free course IPython Interactive Computing and Visualization Cookbook, pdf file on 548 pages by Cyrille Rossant....

Entity Framework tutorial for professionals

Download free Entity Framework tutorial course in PDF, training file in 23 chapters and 94 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Learning Python language

Complete Python language tutorial, courses, exercises and Python language examples designed for developers who want to learn the basics of this language. PDF document on 1067 pages created by StackOverFlow....

Getting started with React Native tutorial

Download free React Native tutorial course in PDF, training file in 32 chapters and 91 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

.NET Microservices

Download free course .NET Microservices, pdf file on 350 pages by Cesar de la Torre, Bill Wagner, Mike Rousos....