E-Book, Englisch, 292 Seiten, Web PDF
Glassey / Rheinboldt Numerical Computation Using C
1. Auflage 2014
ISBN: 978-1-4832-6603-9
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark
E-Book, Englisch, 292 Seiten, Web PDF
ISBN: 978-1-4832-6603-9
Verlag: Elsevier Science & Techn.
Format: PDF
Kopierschutz: 1 - PDF Watermark
Numerical Computation Using C is a four-chapter text guide for learning C language from the numerical analysis viewpoint. C is a general-purpose language that has been used in systems programming. The first chapter discusses the basic principles, logic, operators, functions, arrays, and structures of C language. The next two chapters deal with the uses of the so-called pointers in the C language, which is a variable that contains the address of some object in memory. These chapters also elaborate on several constructs to show how the use of C language can be fine-tuned. The last chapter highlights the practical aspects of C language. This book will be of value to computer scientists and mathematicians.
Autoren/Hrsg.
Weitere Infos & Material
1;Front Cover;1
2;Numerical Computation Using C;4
3;Copyright Page;5
4;Table of Contents;6
5;Acknowledgements;8
6;CHAPTER 0. INTRODUCTION;10
6.1;Some Compilation/Run–time Tips;14
6.2;How to Obtain the Programs;15
7;CHAPTER 1. STD TUTORIAL;16
7.1;First Principles;16
7.2;Do While Loops;24
7.3;If–Else Constructs;33
7.4;Printf Format Specifiers;41
7.5;Logical and Other Operators;42
7.6;C Functions;43
7.7;C Arrays;53
7.8;C Structures;63
7.9;Complex Arithmetic;65
7.10;The Switch Statement;71
7.11;Break, Continue and GoTo Statements;75
8;CHAPTER 2. POINTERS;80
8.1;Definition and Examples;80
8.2;Function Pointers;83
8.3;Pointer Arithmetic and Arrays;90
8.4;Vectors, Matrices and Dynamic Memory Allocation;91
8.5;Manipulation of Indices;97
8.6;Command–Line Arguments;116
8.7;File I/O: Reading and Writing Files;116
9;CHAPTER 3. FINE POINTS;130
9.1;The Increment Operators;130
9.2;Operator Precedence;131
9.3;The for Statement;133
9.4;The Use of the "shorthand" operators;133
9.5;The Use of stderr;134
9.6;The Use of the realloc Statement;134
9.7;Conditional Compiler Directives;136
9.8;Recursion;136
9.9;Location of Include Files;137
9.10;puts vs printf;137
9.11;Creating a Pause;138
9.12;ASCII Translation;138
9.13;Global, Automatic and Static Variables;139
9.14;The Use of awk;139
9.15;extern Variables;139
9.16;Nesting Rules;140
9.17;Comments Revisited;140
9.18;Structures Revisited;140
10;CHAPTER 4. APPLICATIONS;142
10.1;The Conjugate Gradient Method;142
10.2;An Initial–Value Problem for a System of Two Ordinary Differential Equations;148
10.3;A Boundary-Value Problem for a Nonlinear Ordinary Differential Equation;154
10.4;A More General Nonlinear Boundary-Value Problem;159
10.5;An Unusual Ordinary Differential Equation;164
10.6;The Heat Equation with Variable Conductivity;167
10.7;Laguerre's Method;174
10.8;Romberg Integration;184
10.9;Fourier Coefficients;187
10.10;Gauss-Laguerre Integration;190
10.11;Eigenvalues of a Symmetric Matrix;195
10.12;The Generalized Eigenvalue Problem;206
10.13;The Sturm-Liouville Eigenvalue Problem;217
10.14;Jacobi's Method;230
10.15;The Symmetric QR Algorithm;238
10.16;Cubic Splines;247
10.17;Linear Systems;254
10.18;Newton's Method for Systems;260
10.19;Poisson's Equation and SOR;267
11;APPENDIX I. Complex Arithmetic Functions;272
12;APPENDIX II. Memory Allocation Functions;276
13;APPENDIX III. Plotting Files;278
14;APPENDIX IV. C Keywords;280
15;REFERENCES;282
16;INDEX;286




