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

By Walter S. Brainerd

A primary functional consultant to Fortran ninety via individuals of the X3J3 Committee. this can be a educational on Fortran ninety for programmers and engineers and scientists who paintings with Fortran seventy seven and wish to benefit the seriously revised criteria supplied for in Fortran ninety. coated during this consultant to programming languages are uncomplicated rules, basic programming routines, a variety of examples and difficulties. Written via 4 senior individuals of the ANSI Fortran criteria Committee X3J3, this e-book serves as a short resource of data for working towards execs.

Show description

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

Best compilers books

Central European Functional Programming School first summer school, CEFP 2005, Budapest, Hungary, July 4-15, 2005: revised selected lectures

This quantity offers 8 conscientiously revised texts of chosen lectures given by way of prime researchers of the sphere on the first principal ecu useful Programming college, CEFP 2005, held in Budapest, Hungary, in July 2005. The eight revised complete papers provided have been rigorously chosen in the course of rounds of reviewing and development for inclusion within the publication.

Virtual Machines

This ebook bargains a different perception into the development of digital machines for sequential, object-oriented and parallel languages, and makes use of comparisons of other VMs to supply real, sensible examples. kingdom transitions are used as a proper strategy for the specification of digital machines all through and – moreover – transitions and country transitions with regards to the final operation are integrated for specification of the digital laptop for the event-based process.

Introduction to Assembly Language Programming For Pentium and RISC Processors

This up-to-date textbook introduces readers to meeting and its evolving position in desktop programming and layout. the writer concentrates the revised version on protected-mode Pentium programming, MIPS meeting language programming, and use of the NASM and SPIM assemblers for a Linux orientation. the focal point is on offering scholars with a company clutch of the most positive factors of meeting programming, and the way it may be used to enhance a desktops functionality.

Additional resources for A Programmer's Guide to Fortran 90

Sample text

The form of this WHERE construct is: WHERE (logical-array-expression) array-assignment-statements END WHERE or WHERE (logical-array-expression) array-assignment-statements ELSEWHERE Manchester and North HPC T&EC 45 Fortran 90 array-assignment-statements END WHERE In the latter form, the assignments after the ELSEWHERE statement are performed on those elements that have the value false for the logical array expression. For example, the WHERE construct can be used to divide every element of the array ra by the corresponding element of the array rb avoiding division by zero, and assigning zero to those values of ra corresponding to zero values of rb.

Some, or all, of the bounds of automatic arrays are provided when the procedure is invoked. The bounds can depend on dummy arguments, or on variables defined by use or host association. Note that ’use association’ is where variables declared in the main body of a module are made available to a program unit by a USE statement, and ’host association’ is where variables declared in a program unit are made available to its contained internal procedures. Automatic arrays are automatically created (allocated) upon entry to the procedure in which they are declared, and automatically deallocated upon exit from the procedure.

4 WHERE Statement The WHERE statement can be used to perform assignment only if a logical condition is true and this is useful to perform an array operation on only certain elements of an array. A simple example is to avoid division by zero: REAL, DIMENSION(5,5) : ra, rb ... 0) ra=ra/rb The general form is WHERE(logical-array-expression) array-variable=array-expression The logical-array-expression is evaluated, and all those elements of arrayexpression which have value true are evaluated and assigned to array-variable.

Download PDF sample

Rated 4.04 of 5 – based on 44 votes