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 for Beginners

Getting started with Fortran language

Programming in Fortran 95

Introduction to Programming using Fortran 95/2003/2008

Fortran 90/95 Programming Manual

Others related eBooks about Introduction to programming with Fortran 95

Csharp programming

Download C# PDF Tutorial for free, it consisting of 29 chapters and 175 pages covering all the most important C# concepts. This tutorial is intended for beginner programmers, and we recommend you to go through all the chapters, to get the most out of it as possible....

Assembly language tutorial in PDF

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

Download Tutorial Laravel 5

Easy Laravel 5 is an overview of the new PHP plateform, free training document material under 44 pages intended to beginners by W.Jason Gilmore....

The Vue.js Handbook

Download free course The Vue.js Handbook, pdf file on 122 pages by Flavio Copes....

Learning haxe PDF course

It is a free haxe ebook created for beginners. The content is extracted from Stack Overflow pltaform, which is written by many haxe developers and contributors....

A Byte of Python

Python is one of those rare languages which can claim to be both simple and powerful. You ..., download free Python tutorial in PDF (117 pages) created by Swaroop C H ....

Optimizing software in C++

Download free course Optimizing software in C++, pdf file on 176 pages by Agner Fog....

Test-Driven Development with Python

Download free course Test-Driven Development with Python, pdf file on 502 pages by Harry J. W. Percival....

Introduction to language R

This pdf tutorial is an introduction to language R, free training document under 10 pages for beginners....

Making Games with Python & Pygame

Making Games with Python & Pygame covers the Pygame library with the source code for 11 ga..., download free Game Development tutorial in PDF (365 pages) created by ....