Modern Fortran in Practice
Cambridge University Press, 18 черв. 2012 р. - 253 стор.
"Since the publication of the FORTRAN 77 standard in 1978 the Fortran language has undergone a large number of revisions .1 The changes that were introduced reflect both new insights in programming techniques and new developments in computer hardware. From the very start the language has been designed with computing efficiency in mind. The latest standard as of this writing, Fortran 2008, puts even more emphasis on this aspect by introducing explicit support for parallel processing . This first chapter gives an overview of the various standards that have appeared after " FORTRAN 77". There is no attempt to be complete or even to describe all major features - that would mean a whole book or even a series of books. Consult Metcalf et al. ,  or Brainerd et al.  for a detailed Officially, Fortran 77 should be written as FORTRAN 77. Since the Fortran 90 standard the name is written in lowercase. description of the standards. 1.1 The flavour of modern Fortran The Fortran 90 standard introduced some very significant changes with respect to the widespread FORTRAN 77 standard: free form source code, array operations, modules and derived types to name but a few. To give an impression of what this means for the programmer, consider this simple problem: We have a file with numbers, one per line (to keep it simple) and we want to determine the distribution of these numbers, that is, produce a simple histogram. In FORTRAN 77 a program that does this might look like: * Produce a simple histogram * PROGRAM HIST INTEGER MAXDATA PARAMETER (MAXDATA = 1000) INTEGER NOBND PARAMETER (NOBND = 9) REAL BOUND(NOBND) REAL DATA(MAXDATA) INTEGER I, NODATA"--Provided by publisher.
Відгуки відвідувачів - Написати рецензію
Не знайдено жодних рецензій.
Introduction to Modern Fortran
An Interface Problem
SQLite As an Example
Graphics GUls and the Internet
Інші видання - Показати все
abstract interface add_vector allocate arguments automatically bytes character(len class(point2d CMake coarrays compiler computation contains subroutine data types data(i deallocate deﬁne deltt derived type difﬁcult dimension dimension(z double precision Doxygen dynamic efﬁcient elements end function end interface end module end program end type enddo end endif end subroutine endif enddo error evals example ﬁeld ﬁle ﬁnd ﬁrst flow_field FORTRAN 77 Fortran 90 func function f I$omp ierr ifyou implementation indomain input integer integrate_trapezoid integrated development environment integration_library intent(in intent(out linked_list logical loop luout malloc memory memory leaks module procedure new_task nodata number_primes object-oriented programming OpenMP options parallel param parameter PLplot pointer problem programming language range(2 real function result return endif routine solution Solve diagonally dominant source code speciﬁc SQLite standard statement steps thread type autoderiv type linked_list type point2d valgrind variables vector write xmax xmin