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 PDF covers the following
topics related to Fortran : Fortran Background, Creating and Compiling Fortran
Code, A Simple Program, Basic Elements of Fortran, Repetition: do and do while,
Decision-Making: if and select, Arrays, Text Handling, Functions and
Subroutines, Input and Output, Modules.
This PDF covers the
following topics related to Fortran : FORTRAN Layout, Basic Data Types,
Arithmetic Expressions, Intrinsic Functions, Basic Input and Output, DO loops,
General Form for Method 2, IF and IF blocks, Parameter Declaration, Modifying
Index Ranges, etc.
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 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 the following
topics: Basic syntax, Repetition, Arrays, Character handling, Functions and
subroutines, Advanced input or output, User-defined types, Interfaces, Generic
functions, User-defined operators, Advanced procedures, Advanced arrays and
characters, Pointers, Data structures, Object-oriented Fortran.
This is an overview of Fortran
95 language features. Topics covered includes: Language elements, Intrinsic data
types, Expressions and assignments, Control statements, Program units and
procedures, Array handling, Pointers, Intrinsic procedures, Data transfer and
Operations on external files.