Danh mục

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    
Hoai.2512

Hỗ trợ phí lưu trữ khi tải xuống: 14,000 VND Tải xuống file đầy đủ (22 trang) 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 ...

Tài liệu được xem nhiều: