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

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Fortran Tutorials

Programming in Fortran 95

Getting started with Fortran language

Introduction to Programming using Fortran 95/2003/2008

Fortran 90/95 Programming Manual

Beginner Fortran 90 tutorial

Others related eBooks about Introduction to programming with Fortran 95

Algorithms: Fundamental Techniques

This book is about the creation and analysis of efficient algorithms. After introducing some necessary matical background this book covers:...

: Advanced R, Second Edition

This book helps you understand how R works at a fundamental level. It is designed for R programmers who want to deepen their understanding of the language, and programmers experienced in other languages who want to understand what makes R different and special....

Perl tutorial for professionals

Download free Perl tutorial course in PDF, training file in 39 chapters and 109 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Python for You and Me

Download free course Python for You and Me, pdf file on 173 pages by Kushal Das....

Programming Languages and Systems

Download free course Programming Languages and Systems, pdf file on 1056 pages by Amal Ahmed....

Learning Android

A complet Android Course in PDF format, this is a free Android ebook created for educational purposes by Stack Overflow documentation....

JavaScript for impatient programmers

Download free course JavaScript for impatient programmers, pdf file on 526 pages by Axel Rauschmayer....

Practical Foundations for Programming Languages

Download free course Practical Foundations for Programming Languages, pdf file on 590 pages by Robert Harper....

IOS tutorial for developers

Download free PDF tutorial about IOS programming, learn how to creat your IOS applications, this document is a complet training course in 893 pages....

Classic Computer Science Problems in Python

This book deepens your knowledge of problem-solving techniques from the realm of computer science by challenging you with time-tested scenarios, exercises, and algorithms. As you work through examples in search, clustering, graphs, and more, you'll remember important things you've forgotten and disc...