-
内容大纲
FORTRAN是第一种高级程序设计语言,是所有科学计算机语言的鼻祖。Fortran很早就在编程领域占据了主导地位,并在计算密集领域连续使用了半个多世纪,如数值天气预报、有限元分析、计算流体动力学、计算物理、结晶学和计算化学。它是一种用于高性能计算的流行语言,用于对世界上最快的超级计算机进行基准测试和排名的程序。本书共13章。第一章到第九章包括了FORTRAN语言的基础知识。学习了这一部分后,读者应该编写一个简单的FORTRAN程序。在此基础上,第十章至第十三章进一步介绍了一些复杂的算法和程序员。读者通过学习本书,可以对各种典型问题自行编写FORTRAN程序。 -
作者介绍
-
目录
Chapter 1 Introduction to the FORTRAN language
1.1 The history of the FORTRAN language
1.2 Why not use another language
1.3 The evolution of Fortran language
Chapter 2 Algorithm
2.1 Introduction
2.2 Concept of algorithm
2.3 Simple examples of algorithm
2.4 Features of algorithm
2.5 How to express algorithm
2.6 Exercises
Chapter 3 Basic elements of Fortran
3.1 Introduction
3.2 The Fortran character set
3.3 The structure of a Fortran program
3.4 The format of a Fortran program
3.5 Constants
3.6 Variables
3.7 Intrinsic functions
3.8 Arithmetic expression
3.9 Assignment statement
3.10 List-directed output statement
3.11 Simple input statement
3.12 PARAMETER statement
3.13 END,STOP and PAUSE statement
3.14 Examples
3.15 Summary
3.16 Exercises
Chapter 4 How to process and run a program
4.1 Introduction
4.2 Compilation and linking
4.3 Debugging Fortran program
4.4 Exercises
Chapter 5 Logical and branching structure
5.1 Introduction
5.2 Logical constants,variables,operators and expression
5.3 Block construct
5.4 The logical IF statement
5.5 The SELECT CASE construct
5.6 Debugging Fortran branches
5.7 Exercises
Chapter 6 Loops
6.1 Introduction
6.2 Control structure:loops
6.3 The iterative or counting loops
6.4 The while loop
6.5 The until loop
6.6 Named loops (Fortran 90)
6.7 The CYCLE and EXIT statements (Fortran 90)
6.8 Debugging Fortran loops
6.9 Exercises
Chapter 7 Data types
7.1 Introduction
7.2 Building the data environment for a problem solution
7.3 Double precision
7.4 Complex data type
7.5 Conversion and operation between four types of numeric data
7.6 Characters
7.7 Exercises
Chapter 8 Output
8.1 Introduction
8.2 Formats and formatted WRITE statements
8.3 Output devices
8.4 Format descriptors
8.5 How formats are used during WRITEs
8.6 Exercises
Chapter 9 Input
9.1 Introduction
9.2 Formatted READ statements
9.3 Integer input–the I descriptor
9.4 Real input-the F descriptor
9.5 Logical input—the L descriptor
9.6 Character input—-the A descriptor
9.7 Horizontal positioning—the X descriptor
9.8 How formats are used during READs
9.9 Exercises
Chapter 10 Arrays
10.1 Introduction
10.2 Declaring arrays
10.3 Using array elements in Fortran statements
10.4 Using whole arrays in Fortran statements (Fortran 90)
10.5 Array storage
10.6 Initialization
10.7 Input and output
10.8 Examples
10.9 When should you use an array
10.10 Exercises
Chapter 11 Procedures
11.1 Introduction
11.2 Function subprogram
11.3 Subroutines
11.4 Passing data between actual argument and dummy argument
11.5 The SAVE statement
11.6 Examples
11.7 Exercises
Chapter 12 Statement function
12.1 Introduction
12.2 Definition of statement function
12.3 Invoking the statement function
12.4 Exercises
Chapter 13 File
13.1 Introduction
13.2 The OPEN statement
13.3 The CLOSE statement
13.4 The READ statement
13.5 The WRITE statement
13.6 File position statement
13.7 Unformatted files
13.8 Direct access files
13.9 Examples
13.10 Exercises
Appendix
Appendix A The ASC Ⅱ character set
Appendix B Intrinsie function in Fortran
Appendix C Clauses allowed in the OPEN statement
Appendix D Clauses allowed in the READ statement
Appendix E The order of statements in a Fortran program
References
同类热销排行榜
- C语言与程序设计教程(高等学校计算机类十二五规划教材)16
- 电机与拖动基础(教育部高等学校自动化专业教学指导分委员会规划工程应用型自动化专业系列教材)13.48
- 传感器与检测技术(第2版高职高专电子信息类系列教材)13.6
- ASP.NET项目开发实战(高职高专计算机项目任务驱动模式教材)15.2
- Access数据库实用教程(第2版十二五职业教育国家规划教材)14.72
- 信号与系统(第3版下普通高等教育九五国家级重点教材)15.08
- 电气控制与PLC(普通高等教育十二五电气信息类规划教材)17.2
- 数字电子技术基础(第2版)17.36
- VB程序设计及应用(第3版十二五职业教育国家规划教材)14.32
- Java Web从入门到精通(附光盘)/软件开发视频大讲堂27.92
推荐书目
-
孩子你慢慢来/人生三书 华人世界率性犀利的一枝笔,龙应台独家授权《孩子你慢慢来》20周年经典新版。她的《...
-
时间简史(插图版) 相对论、黑洞、弯曲空间……这些词给我们的感觉是艰深、晦涩、难以理解而且与我们的...
-
本质(精) 改革开放40年,恰如一部四部曲的年代大戏。技术突变、产品迭代、产业升级、资本对接...