FORTRAN / Samuel L. Marateck.
Saved in:
Online Access: |
Full Text (via ScienceDirect) |
---|---|
Main Author: | |
Format: | eBook |
Language: | English |
Published: |
New York :
Academic Press,
[1977]
|
Subjects: |
Table of Contents:
- Front Cover; For Tran; Copyright Page; Dedication; Table of Contents; Preface; To the Reader; Chapter 1. Introduction to Computers and Programming; 1.1. General Remarks; 1.2. The Keypunch; 1.3. Input and Output Devices; 1.4. Solving a Problem; 1.5. Algorithms; 1.6. FORTRAN, WATFOR, and WATFIV; Chapter 2. Introduction to FORTRAN; 2.1. General Remarks; 2.2. The Assignment Statement; 2.3. The END Statement; 2.4. The Listing of the Program; the STOP Statement; 2.5. Executing the Program; 2.6. The WRITE and FORMAT Statements; 2.7. The Format-Free PRINT Statement; 2.8. Performing an Addition.
- 2.9. Performing a Multiplication2.10. Restrictions and Limitations in Using F Format; 2.11. REAL and INTEGER Mode; 2.12. I Format; 2.13. The INTEGER and REAL Declaration Statements; 2.14. Restrictions Involved in Using I Format; 2.15. Redefining Variables; 2.16. Debugging Programs on the FORTRAN compiler; 2.17. Debugging Using the WATFOR/WATFIV compiler; 2.18. Labeling Cards; 2.19. Continuation Cards; 2.20. The Formatted PRINT; PROBLEMS; Chapter 3. Calculations and the READ Statement; 3.1. Performing Calculations in FORTRAN; 3.2. Peculiarities of REAL and INTEGER Arithmetic; 3.3. Mixed Mode.
- 3.4. The READ Statement3.5. Some Programming Tips on FORMATS and Data Cards; Repeated Field Specifications; 3.6. The WATFOR/WATFIV READ Statement; Doing Calculations in the PRINT Statement; 3.7. The GO TO Statement; 3.8. Flow Charts; 3.9. Rounding Numbers; 3.10. Strings; 3.11. Strings in WATFIV; 3.12. Another Form of the READ Statement; PROBLEMS; Chapter 4. Functions and the IF Statement; 4.1. Library Functions; 4.2. The Logical IF Statement; 4.3. Relational Operators: EQ, NE, GT, LT, GE, and LE; 4.4. Other Applications of IF Statement; 4.5. Writing REAL Constants in Exponential Form.
- 4.6. How REAL and INTEGER Constants Are Stored4.7. Printing Using E Format; 4.8. Using X Format; 4.9. The Arithmetic IF Statement; PROBLEMS; Chapter 5. The DO Loop, the IF-THEN-ELSE and the WHILE Loop; 5.1. The DO Loop; 5.2. T Format; 5.3. More on DO Loops; 5.4. Summations and Products; 5.5. Negative Increments; Reading a Variable Number of Data Cards; 5.6. The AND, OR, and NOT Logical Operators; 5.7. LOGICAL Constants and Format; 5.8. The LOGICAL Declaration Statement; 5.9. Nested DO Loops; 5.10. Applications of the DO Loop; 5.11. A WATFIV-S Feature: The IF-THEN-ELSE (The Block IF)
- 5.12. Another WATFIV-S Feature: The WHILE LoopPROBLEMS; Chapter 6. Subscripted Variables, the DATA Statement, and the Implied DO Loop; 6.1 Subscripted Variables; 6.2. The DATA Statement; 6.3. The Computed GO TO Statement; 6.4. INTEGER Subscripted Variables; 6.5. Sorting; 6.6. Satisfying Input and Output Lists; 6.7. Implied DO Loops; PROBLEMS; Chapter 7. Doubly Subscripted Variables and Matrix Multiplication; 7.1 Doubly Subscripted Variables; 7.3 Matrix Multiplication; 7.4 Reading Values into Arrays; PROBLEMS; Chapter 8. Input/Output; 8.1. Printing Using F Format; 8.2. Reading Using F Format.