Fortran 90 Overview
Số trang: 22
Loại file: pdf
Dung lượng: 132.08 KB
Lượt xem: 6
Lượt tải: 0
Xem trước 3 trang đầu tiên của tài liệu này:
Thông tin tài liệu:
This overview of Fortran 90 (F90) features is presented as a series of tables that illustrate the syntaxand abilities of F90. Frequently comparisons are made to similar features in the C++ and F77 languagesand to the Matlab environment.These tables show that F90 has significant improvements over F77 and matches or exceeds newersoftware capabilities found in C++ and Matlab for dynamic memory management, user defined datastructures, matrix operations, operator definition and overloading, intrinsics for vector and parallel processorsand the basic requirements for object-oriented programming.They are intended to serve as a condensed quick reference guide for programming in F90 and forunderstanding programs...
Nội dung trích xuất từ tài liệu:
Fortran 90 Overview 1Fortran 90 OverviewJ.E. Akin, Copyright 1998 This overview of Fortran 90 (F90) features is presented as a series of tables that illustrate the syntaxand abilities of F90. Frequently comparisons are made to similar features in the C++ and F77 languagesand to the Matlab environment. These tables show that F90 has significant improvements over F77 and matches or exceeds newersoftware capabilities found in C++ and Matlab for dynamic memory management, user defined datastructures, matrix operations, operator definition and overloading, intrinsics for vector and parallel pro-cessors and the basic requirements for object-oriented programming. They are intended to serve as a condensed quick reference guide for programming in F90 and forunderstanding programs developed by others.List of Tables 1 Comment syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 Intrinsic data types of variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 Arithmetic operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 4 Relational operators (arithmetic and logical) . . . . . . . . . . . . . . . . . . . . . . . . 5 5 Precedence pecking order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 Colon Operator Syntax and its Applications . . . . . . . . . . . . . . . . . . . . . . . . 5 7 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 8 Flow Control Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 9 Basic loop constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 10 IF Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 11 Nested IF Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 12 Logical IF-ELSE Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 13 Logical IF-ELSE-IF Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 14 Case Selection Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 15 F90 Optional Logic Block Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 16 GO TO Break-out of Nested Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 17 Skip a Single Loop Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 18 Abort a Single Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 19 F90 DOs Named for Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 20 Looping While a Condition is True . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 21 Function definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 22 Arguments and return values of subprograms . . . . . . . . . . . . . . . . . . . . . . . 12 23 Defining and referring to global variables . . . . . . . . . . . . . . . . . . . . . . . . . 12 24 Bit Function Intrinsics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 25 The ACSII Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 26 F90 Character Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 27 How to type non-printing characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 28 Referencing Structure Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 29 Defining New Types of Data Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 30 Nested Data Structure Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 31 Declaring, initializing, and assigning components of user-defined datatypes . . . . . . . 14 32 F90 Derived Type Component Interpretation . . . . . . . . . . . . . . . . . . . . . . . 15 33 Definition of pointers and accessing their targets . . . . . . . . . . . . . . . . . . . . . . 15 34 Nullifing a ...
Nội dung trích xuất từ tài liệu:
Fortran 90 Overview 1Fortran 90 OverviewJ.E. Akin, Copyright 1998 This overview of Fortran 90 (F90) features is presented as a series of tables that illustrate the syntaxand abilities of F90. Frequently comparisons are made to similar features in the C++ and F77 languagesand to the Matlab environment. These tables show that F90 has significant improvements over F77 and matches or exceeds newersoftware capabilities found in C++ and Matlab for dynamic memory management, user defined datastructures, matrix operations, operator definition and overloading, intrinsics for vector and parallel pro-cessors and the basic requirements for object-oriented programming. They are intended to serve as a condensed quick reference guide for programming in F90 and forunderstanding programs developed by others.List of Tables 1 Comment syntax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 2 Intrinsic data types of variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3 Arithmetic operators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 4 Relational operators (arithmetic and logical) . . . . . . . . . . . . . . . . . . . . . . . . 5 5 Precedence pecking order . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 Colon Operator Syntax and its Applications . . . . . . . . . . . . . . . . . . . . . . . . 5 7 Mathematical functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 8 Flow Control Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 9 Basic loop constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 10 IF Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 11 Nested IF Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 12 Logical IF-ELSE Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 13 Logical IF-ELSE-IF Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 14 Case Selection Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 15 F90 Optional Logic Block Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 16 GO TO Break-out of Nested Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 17 Skip a Single Loop Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 18 Abort a Single Loop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 19 F90 DOs Named for Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 20 Looping While a Condition is True . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 21 Function definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 22 Arguments and return values of subprograms . . . . . . . . . . . . . . . . . . . . . . . 12 23 Defining and referring to global variables . . . . . . . . . . . . . . . . . . . . . . . . . 12 24 Bit Function Intrinsics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 25 The ACSII Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 26 F90 Character Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 27 How to type non-printing characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 28 Referencing Structure Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 29 Defining New Types of Data Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 30 Nested Data Structure Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 31 Declaring, initializing, and assigning components of user-defined datatypes . . . . . . . 14 32 F90 Derived Type Component Interpretation . . . . . . . . . . . . . . . . . . . . . . . 15 33 Definition of pointers and accessing their targets . . . . . . . . . . . . . . . . . . . . . . 15 34 Nullifing a ...
Tìm kiếm theo từ khóa liên quan:
Kỹ thuật lập trình Phần cứng Công nghệ thông tin Tin học Quản trị mạngTài liệu liên quan:
-
52 trang 433 1 0
-
24 trang 358 1 0
-
Top 10 mẹo 'đơn giản nhưng hữu ích' trong nhiếp ảnh
11 trang 319 0 0 -
74 trang 303 0 0
-
96 trang 297 0 0
-
Báo cáo thực tập thực tế: Nghiên cứu và xây dựng website bằng Wordpress
24 trang 291 0 0 -
Đồ án tốt nghiệp: Xây dựng ứng dụng di động android quản lý khách hàng cắt tóc
81 trang 284 0 0 -
EBay - Internet và câu chuyện thần kỳ: Phần 1
143 trang 277 0 0 -
Tài liệu hướng dẫn sử dụng thư điện tử tài nguyên và môi trường
72 trang 269 0 0 -
Tài liệu dạy học môn Tin học trong chương trình đào tạo trình độ cao đẳng
348 trang 269 1 0