Difference between revisions 2492494 and 2492495 on enwikibooks[[File:CCBYSA yellow.png]] =Preface= The goal of this Fortran tutorial is to give a quick introduction to the most common features of the Fortran 77 programming language. A companion tutorial introduces the key enhancements found in Fortran 90. It is not a complete reference! Many details have been omitted. The presentation focuses on scientific computations, mainly linear algebra. The outline of this tutorial was inspired by the book "Handbook for Matrix Computations" by T.F. Coleman and C. Van (contracted; show full)If the termination criterion is at the end instead of the beginning, it is often called an until-loop. The pseudocode looks like this: do statements until (logical expr) Again, this should be implemented in Fortran 77 by using if and goto: <code>⏎ label continue statements if (logical expr) goto label</code> Note that the logical expression in the latter version should be the negation of the expression given in the pseudocode! =Arrays= Many scientific computations use vectors and matrices. The data type Fortran uses for representing such objects is the array. A one-dimensional array corresponds to a vector, while a two-dimensional array corresponds to a matrix. To fully understand how this works in Fortran 77, you will have to know not only the syntax for usage, but also how these objects are stored in memory(contracted; show full) Sarah T. Whitlock and Paul H. Hargrove for use in the Fortran courses which have been offered under different course numbers each subsequent year. The original source of the material is here http://www.stanford.edu/class/me200c/tutorial_77/ Stanford university has re-released the material under a creative commons 3.0 attribution license. The tutorial was transferred to mediawiki format by Houraa Daher. {{Subjects|Computer programming|University level mathematics books}} {{alphabetical|F}} {{status|100%}} All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://en.wikibooks.org/w/index.php?diff=prev&oldid=2492495.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|