Cargando…

A short course in computational science and engineering : C++, Java, and Octave numerical programming with free software tools /

"Building on his highly successful textbook on C++, David Yevick provides a concise yet comprehensive one-stop course in three key programming languages, C++, Java and Octave (a freeware alternative to MATLAB). Employing only public-domain software to ensure straightforward implementation for a...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Yevick, David (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: New York : Cambridge University Press, 2012.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • Cover; A Short Course in Computational Science and Engineering; Title; Copyright; Contents; Chapter 1: Introduction; 1.1 Objective; 1.2 Presentation; 1.3 Programming languages; 1.4 Language standards; 1.5 Chapter summary; 1.6 How to use this text; 1.7 Additional and alternative software packages; Chapter 2: Octave programming; 2.1 Obtaining octave; 2.2 Command summary; 2.3 Logistic map; Chapter 3: Installing and running the Dev-C++ programming environment; 3.1 Compiling and running a first program; 3.2 The Dev-C++ debugger; 3.3 Installing DISLIN; 3.4 A first graphics program
  • 3.5 The help system3.6 Example; Chapter 4: Introduction to computer and software architecture; 4.1 Computational methods; 4.2 Hardware architecture; 4.3 Software architecture; 4.4 The operating system and application software; Chapter 5: Fundamental concepts; 5.1 Overview of program structure; 5.2 Tokens, names and keywords; 5.3 Expressions and statements; 5.4 Constants, variables and identifiers; 5.5 Constant and variable types; 5.6 Block structure; 5.7 Declarations, definitions and scope; 5.8 rvalues and lvalues; 5.9 Operators
  • precedence and associativity; 5.10 The const keyword
  • 5.11 Formatting conventions5.12 Comments; Chapter 6: Procedural programming basics; 6.1 Scientific software development; 6.2 The main( ) function; 6.3 Namespaces; 6.4 Preprocessor directives and #include statements; 6.5 Arithmetic and logical operators; 6.6 The bool and enum types; 6.7 Control flow, if statements and implicit blocks; 6.8 The for statement; 6.9 while and do. . . while statements; 6.10 The break, continue and exit( ) statements; 6.11 The typedef keyword; 6.12 Input and output streams; 6.13 File streams; 6.14 Casts; 6.15 Functions; 6.16 Principles of function operation
  • 6.17 Function declarations and prototypes6.18 Enumerators and functions; 6.19 Overloading and argument conversion; 6.20 Built-in functions and header files; 6.21 The assert statement and try and catch blocks; 6.22 Multiple return statements; 6.23 Default parameters; 6.24 Functions and global variables; 6.25 Inline functions; 6.26 Recursive functions; 6.27 Modular programming; 6.28 Arrays; 6.29 Program errors; 6.30 Numerical errors with floating-point types; Chapter 7: An introduction to object-oriented analysis; 7.1 Procedural versus object-oriented programming; 7.2 Problem definition
  • 7.3 Requirements specification7.4 UML diagrams; 7.5 Classes and objects; 7.6 Object discovery; 7.7 Inheritance; Chapter 8: C++ object-oriented programming syntax; 8.1 Class declaration; 8.2 Class definition and member functions; 8.3 Object creation and polymorphism; 8.4 Information hiding; 8.5 Constructors; 8.6 Examples; 8.7 Wrappering legacy code; 8.8 Inheritance; 8.9 The "protected" keyword; 8.10 Multifile programs; 8.11 const member functions; Chapter 9: Arrays and matrices; 9.1 Data structures and arrays; 9.2 Array definition and initialization; 9.3 Array manipulation and memory access