Fortran is a general purpose
programming language, mainly intended for mathematical computations in science
applications . Fortran is an acronym for FORmula TRANslation, and
was originally capitalized as FORTRAN. This PDF covers the following topics
related to Fortran : What is Fortran?, Fortran basics, Variables, declarations,
and types, Expressions and assignment, Logical expressions, The if statements,
Loops, Arrays, Subprograms, Random numbers and Monte Carlo simulations, Simple
input and output, Format statements, File I/O, Common blocks, data and block
data, Debugging, Running Fortran on the Physics Department’s VAX
computer, A sample Fortran program for Lab.
This note explains Variable type and declarations,
Program control constructs, Procedures and program structure, Intrinsic
procedures, External files and output formatting, Allocatable, assumed shape and
automatic arrays.
Fortran from its
development was intended for translating scientific equations into computer
code. Topics covered includes: A very brief history of Fortran, Coding in UNIX,
Compiling in UNIX, Fortran 90 v. FORTRAN 77, Basic Fortran, Program Format, Data
Types, Declaration, and Parameterization, Operations and Logical Expressions,
Precision, Intrinsic Functions, Input, Output and Format Descriptors, Control
Structure, Subroutines, External Functions, and Modules, Arrays, Derived Data
Types.
This note explains the
following topics: High-level programming languages, Analysis of program,
Introduction to UNIX, Creating and editing files, UNIX commands, Data Types and
Handling, Arithmetic and Assignment, Initial Values and Constants, Decision
Making in Fortran, Repeating Parts of your Program, Arrays, Functions and
Subroutines, File Handling.
This note explains the
following topics: Fortran Statements, Data Types, Constants and Variables,
Operators, Task Repetition Using DO Loops, Conditional Constructs, Arrays,
Input/Output, The Use of Format and Subprograms.
This
tutorial is written in order to ease the transition from the very common and
popular programming language Fortran 77 to the more modern Fortran 90. It is
required that the reader is knowledgeable in Fortran 77. Topics covered include:
Notables in the transition from Fortran 77 to Fortran 90, Specifications, The
layout of a program, Control statements, Program units, Keyword arguments and
default arguments, Recursion, Generic routines, The use of arrays and array
sections, Pointers, The new precision concept, Additional problems at the
transition, Use of program libraries, Peculiarities in the language Fortran 90,
Status of Fortran 95 and Different Fortran standards.
This book covers the following topics: What
Is Fortran, Basic Fortran Concepts, Program Structure and Layout, Fortran in
Practice, Constants, Variables, and Arrays, Arithmetic, Character Handling and
Logic, Control Statements, Procedures, Input/Output Facilities, DATA Statement,
Common Blocks, Obsolete and Deprecated Features, Common Extensions to the
Fortran Standard.
Author(s): Clive
G. Page, University of Leicester, UK