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

Beginner Fortran 90 tutorial

Introduction to Programming using Fortran 95/2003/2008

Programming in Fortran 95

Fortran 90 for Beginners

Getting started with Fortran language

Others related eBooks about Introduction to programming with Fortran 95

Programming Computer Vision with Python

Download free course Programming Computer Vision with Python, pdf file on 300 pages by Jan Erik Solem....

Java Persistence with JPA

This tutorial is a reference guide to provide a framework on how to work with JPA and help you to start your first JPA applications,free PDF training course material on 33 pages ....

The JavaScript Beginner's Handbook

Download free course The JavaScript Beginner's Handbook, pdf file on 70 pages by Flavio Copes....

: Advanced R Solutions

This book offers solutions to the exercises from Hadley Wickham's book Advanced R (Edition 2). It is work in progress and under active development. The 2nd edition of Advanced R is in print now and we hope to provide most of the answers....

Algorithms

Algorithms are the lifeblood of computer science. They are the machines that proofs build ..., download free Algorithms tutorial in PDF (472 pages) created by Jeff Erickson ....

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 ....

How to Make Mistakes in Python

Download free course How to Make Mistakes in Python, pdf file on 82 pages by Mike Pirnat....

Mastering iOS Game Development

iOS is an operating system for Apple manufactured phones and tablets. Mobile gaming is one..., download free Game Development tutorial in PDF (228 pages) created by Miguel DeQuadros ....

Biopython: Tutorial and Cookbook

Download free course Biopython: Tutorial and Cookbook, pdf file on 360 pages by by Jeff Chang, Brad Chapman, Iddo Friedberg, Thomas Hamelryck, Michiel de Hoon, Peter Cock, Tiago Antao, Eric Talevich, Bartek Wilczy?ski....

The Coder's Apprentice: Learning Programming with Python 3

This book is aimed at teaching Python 3 to students and teenagers who are completely new to programming. Contrary to many of the other books that teach Python programming, this book assumes no previous knowledge of programming on the part of the students, and contains numerous exercises that allow s...