E-Book, Englisch, 304 Seiten, Web PDF
Bohlender / Ullrich / Gudenberg Pascal-SC
1. Auflage 2014
ISBN: 978-1-4832-6885-9
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark
A Computer Language for Scientific Computation
E-Book, Englisch, 304 Seiten, Web PDF
ISBN: 978-1-4832-6885-9
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark
Perspectives in Computing, Vol. 17: Pascal-SC: A Computer Language for Scientific Computation focuses on the application of Pascal-SC, a programming language developed as an extension of standard Pascal, in scientific computation. The publication first elaborates on the introduction to Pascal-SC, a review of standard Pascal, and real floating-point arithmetic. Discussions focus on optimal scalar product, standard functions, real expressions, program structure, simple extensions, real floating-point arithmetic, vector and matrix arithmetic, and dynamic arrays. The text then examines functions and operators with arbitrary result types and solving problems with Pascal-SC. The book ponders on strings and text processing, dynamic arrays, and modules. Topics include declaration and use of modules, compatibility of static and dynamic arrays, dynamic result types of functions and operators, strings in procedures, functions, and operators, and declaration of string variables. The publication is a dependable reference for computer science experts and researchers interested in the application of Pascal-SC in scientific computation.
Autoren/Hrsg.
Weitere Infos & Material
1;Front Cover;1
2;Pascal-SC: A Computer Language for Scientific Computation;4
3;Copyright Page;5
4;Table of Contents;8
5;PREFACE;6
6;CHAPTER
I. An Introduction to Pascal-SC;12
6.1;1.1 Why Pascal-SC?;12
6.2;1.2 The propagation of roundoff error;13
6.3;1.3 Real floating-point arithmetic;14
6.4;1.4 Complex floating-point arithmetic;15
6.5;1.5 Interval arithmetic;17
6.6;1.6 Vector and matrix arithmetic;19
6.7;1.7 Dynamic arrays;21
6.8;1.8 Overloading of operators and function names;22
6.9;1.9 The module concept;22
6.10;1.10 The string concept;23
7;CHAPTER
II. A Review of Standard Pascal;24
7.1;2.1 Program structure;26
7.2;2.2 Declarations and definitions;29
7.3;2.3 Statements;34
7.4;2.4 Expressions;39
7.5;2.5 Simple extensions;48
8;CHAPTER
III. Real Floating-Point Arithmetic—The Heart of a Scientific Programming Language;53
8.1;3.1 Floating-point arithmetic;53
8.2;3.2 Real expressions;56
8.3;3.3 Input and output;58
8.4;3.4 Standard functions;59
8.5;3.5 The optimal scalar product;60
8.6;3.6 The data type dotprecision;63
9;CHAPTER
IV. Functions and Operators with Arbitrary Result Types;69
9.1;4.1 Structured data types in standard Pascal;69
9.2;4.2 Functions with arbitrary result types;70
9.3;4.3 Operators;73
9.4;4.4 Operator identifiers and priority definition;78
9.5;4.5 Overloading of functions, procedures, and operators;79
9.6;4.6 Examples;85
10;CHAPTER
V. Solving Problems with Pascal-SC;96
10.1;5.1 Complex arithmetic;97
10.2;5.2 Interval arithmetic;103
10.3;5.3 Vector and matrix arithmetic;111
10.4;5.4 Differentiation arithmetic;123
11;CHAPTER
VI. Strings and Text Processing;149
11.1;6.1 Declaration of string variables;150
11.2;6.2 Manipulation of strings;152
11.3;6.3 Strings in procedures, functions, and operators;156
11.4;6.4 Examples;159
12;CHAPTER
VII. Dynamic Arrays;167
12.1;7.1 Declaration and qualification;169
12.2;7.2 Dynamic arrays as subroutine arguments;173
12.3;7.3 Dynamic result types of functions and operators;175
12.4;7.4 Compatibility of static and dynamic arrays;177
12.5;7.5 Examples;178
13;CHAPTER
VIII. Modules;186
13.1;8.1 Introductory examples;187
13.2;8.2 Declaration and use of modules;191
13.3;8.3 Definition and implementation of modules;200
13.4;8.4 Examples;203
14;APPENDIX
A: Syntax Diagrams;232
14.1;A.l Syntax of Pascal-SC;232
14.2;A.2 Syntax of expressions for individual data types;249
15;APPENDIX
B: Additional Extensions and Limitations of Existing Implementations;279
15.1;B.1
Identifiers;279
15.2;B.2 The file concept;280
15.3;B.3 Statements;281
15.4;B.4 Standard procedures;282
15.5;B.5 Extension of integer arithmetic;283
15.6;B.6 About the scalar product;283
15.7;B.7 Compiler directive;288
16;APPENDIX C: Index of Syntax Diagrams, Word Symbols, Standard
Identifiers, and Examples;290
16.1;C. 1 Syntax diagrams;290
16.2;C.2 Word symbols;291
16.3;C.3 Standard identifiers;291
16.4;C.4 Examples;291
17;Bibliography;295
18;Subject Index;297