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

Introduction to Programming using Fortran 95/2003/2008

Fortran 90 for Beginners

Programming in Fortran 95

Fortran 90/95 Programming Manual

Getting started with Fortran language

Others related eBooks about Introduction to programming with Fortran 95

Full Speed Python

This book aims to teach the Python programming language using a practical approach. Its me..., download free Python tutorial in PDF (40 pages) created by Joao Ventura ....

Python Machine Learning Projects

This book tries to equip the developers of today and tomorrow with tools they can use to better understand, evaluate, and shape machine learning....

Essential Python

This book written to provide clear and concise explanation of topics for programmers both starting to learn the Python programming language as well as those diving in more complex topics. Most examples are linked to online playground that allows you to change the code and re-run it....

Perl and LWP - Fetching web pages, Parsing HTML, Writing Spiders, & More

Perl soared to popularity as a language for creating and managing web content, but with LWP (Library for WWW in Perl), Perl is equally adept at consuming information on the Web. LWP is a suite of modules for fetching and processing web pages. ...

Guide to C++ Programming

This tutorial provides an introduction to C++ programming language in PDF. This guide will help you to learn how to write a simple computer programs in C++ with somes exercises....

Create a C# Project with Visual Studio Code free PDF

Download free course Create a C# Project with Visual Studio Code free PDF, pdf file on 6 pages by tutorialkart.com....

Building Back-End Web Apps with Java, JPA and JSF

This book shows how to build back-end web applications with Java, JPA and JSF. A back-end web app is a distributed web app where essentially all work is performed by the back-end component, including data validation and UI page creation, while the front-end only consists of a web browser's renderi...

Ruby programming tutorial

Download free Ruby tutorial course in PDF, training file in 69 chapters and 235 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Download Hibernate Tutorial

Download free Hibernate Tutorial for Beginners, training course material, a PDF file created by coreservlets.com....

Java for Small Teams

This book is an attempt to capture what good Java code looks like and the practices that help produce it. This document is intended for consumption by anyone involved with writing server side Java code. From developers writing Java for the first time through to seasoned technical leads serving multi...