Read e-book online A Programmer's Guide to Fortran 90 PDF

By Walter S. Brainerd

ISBN-10: 0070002487

ISBN-13: 9780070002487

A primary sensible consultant to Fortran ninety by means of contributors of the X3J3 Committee. this can be a instructional on Fortran ninety for programmers and engineers and scientists who paintings with Fortran seventy seven and want to profit the seriously revised criteria supplied for in Fortran ninety. lined during this advisor to programming languages are easy rules, basic programming routines, a variety of examples and difficulties. Written by means of 4 senior individuals of the ANSI Fortran criteria Committee X3J3, this ebook serves as a brief resource of data for working towards pros.

Show description

Read or Download A Programmer's Guide to Fortran 90 PDF

Best compilers books

Generating hardware assertion checkers: for hardware - download pdf or read online

Assertion-based layout is a strong new paradigm that's facilitating caliber development in digital layout. Assertions are statements used to explain homes of the layout (I. e. , layout intent), that may be integrated to actively fee correctness in the course of the layout cycle or even the lifecycle of the product.

Download e-book for iPad: Compilers and Operating Systems for Low Power by Suet-Fei Li, Roy Sutton, Jan Rabaey (auth.), Luca Benini,

Compilers and working platforms for Low energy makes a speciality of either application-level compiler directed power optimization and low-power working platforms. Chapters were written completely for this quantity through a number of of the best researchers and alertness builders energetic within the box. the 1st six chapters concentrate on low power working platforms, or extra generally, energy-aware middleware prone.

Download e-book for kindle: Software-Intensive Systems and New Computing Paradigms: by Martin Wirsing, Jean-Pierre Banatre, Matthias Hölzl, Axel

To spot the emergent tendencies in software-intensive and allotted and decentralized desktops and their effect at the info Society within the subsequent 10--15 years, the eu fee has verified Coordinated activities: at the beginning the venture `Beyond the Horizon' after which, beginning in 2006, the undertaking `InterLink'.

Download e-book for kindle: System Analysis and Modeling: Models and Reusability: 8th by Daniel Amyot, Pau Fonseca i Casas, Gunter Mussbacher

This ebook constitutes the refereed papers of the complaints of the eighth foreign convention on approach research and Modeling, SAM 2014, held in Valencia, Spain, in September 2014. The 18 complete papers and the three brief papers awarded including 2 keynotes have been rigorously reviewed and chosen from seventy one submissions.

Extra resources for A Programmer's Guide to Fortran 90

Sample text

10, “Recursion”, must have a RESULT variable. 9 Array-valued Functions A function’s result does not have to be scalar, it may alternatively be an array. Such a function is known as an array-valued function. The type of an array-valued function is not specified in the initial FUNCTION statement, but in a type declaration in the body of the function, where the dimension of the array must also be specified. FUNCTION add_vec (a,b,n) IMPLICIT NONE REAL, DIMENSION (n) :: add_vec INTEGER, INTENT(IN) :: n REAL, DIMENSION (n), INTENT(IN) :: a, b DO i=1,n add_vec(i) = a(i) + b(i) END DO END FUNCTION add_vec Note that if the array-valued function is external, an interface must be provided in the calling program.

E. USE globals The USE statement is non-executable, and must appear at the very beginning of a program unit before any other non-executables, and after the PROGRAM, or other program unit statement. A program unit may invoke a number of different modules by having a series of USE statements. Note that a module itself may ‘USE’ another module, but a module cannot invoke itself either directly or indirectly. The use of variables from a module could potentially cause problems if the same names have been used for different variables in different parts of a program.

1,2,3,4,5,6/) (/7,(i,i=1,4),9/) ! 0/REAL(i),i=1,6)/) ! 0/) Manchester and North HPC T&EC 49 Fortran 90 (/((i+j,i=1,3),j=1,2)/) ! = (/((1+j,2+j,3+j),j=1,2)/) ! = (/2,3,4,3,4,5/) (/a(i,2:4),a(1:5:2,i+3)/) ! = (/a(i,2),a(i,3),a(i,4),a(1,i+3),a(3,i+3),a(5,i+3)/) It is possible to transfer a rank-one array of values to an array of a different shape using the RESHAPE function. The RESHAPE function has the form RESHAPE(SOURCE,SHAPE,[,PAD][,ORDER]) where the argument SOURCE can be an array of any sort (in this case a rank-one array), and the elements of source are rearranged to form an array RESHAPE of shape SHAPE.

Download PDF sample

A Programmer's Guide to Fortran 90 by Walter S. Brainerd


by Brian
4.0

Rated 4.30 of 5 – based on 19 votes