C-XSC: A C++ Class Library for Extended Scientific Computing by Prof. Dr. Ulrich Kulisch, Dr. Rudi Klatte, Dipl.-Math.

By Prof. Dr. Ulrich Kulisch, Dr. Rudi Klatte, Dipl.-Math. Andreas Wiethoff, Dr. Christian Lawo, Dipl.-Math. Michael Rauch (auth.)

C-XSC is a device for the improvement of numerical algorithms providing hugely exact and immediately tested effects. It offers loads of predefined numerical information kinds and operators. those kinds are carried out as C++ periods. hence, C-XSC permits high-level programming of numerical functions in C and C++. an important positive aspects of C-XSC are: actual, complicated, period, and intricate period mathematics; dynamic vectors and matrices; subarrays of vectors and matrices; dotprecision info varieties, predefined mathematics operators with greatest accuracy; ordinary features of excessive accuracy; a number of precision mathematics and conventional capabilities; rounding regulate for I/O information; mistakes dealing with, and library of challenge fixing workouts with automated end result verification. hence, C-XSC makes the pc extra strong about the mathematics. C-XSC is straight away usable through C programmers, effortless to profit, user-extendable, and will even be mixed with different instruments. The publication can be utilized as a textbook and as a reference guide. It contains an creation to complicated laptop mathematics, a bankruptcy describing the programming languages C and C++, the key bankruptcy "C-XSC Reference", pattern courses, and indices.

Show description

Read or Download C-XSC: A C++ Class Library for Extended Scientific Computing PDF

Similar programming: programming languages books

Objektorientierte Programmiersprache C++: Vollständige Einführung anhand von Beispielen (VDI-Buch) (German Edition)

In diesem Werk werden alle Aspekte der Sprache C++ behandelt, deshalb ist das Buch ebenso für Einsteiger, mit oder ohne Vorkenntnisse über eine andere Programmiersprache, als auch für Umsteiger von anderen Programmiersprachen bzw. C-Programmierer geeignet. Die Darstellung der Sachverhalte erfolgt knapp und systematisch, die Beispiele sind kurz, prägnant und compiler- unabhängig und auf allen Rechnern mit C++ 2.

Extra resources for C-XSC: A C++ Class Library for Extended Scientific Computing

Example text

Variables which are not explicitly initialized have undefined values. constants The attribute const specifies that an identifier is a constant. Its value cannot be changed after its definition. No component of a constant vector may be changed after the definition. Function parameters declared as constants do not change their value within the function, e. g. e Programming Languages C and C++ If the value of a constant variable is changed in an expression, the result is system-dependent. Arithmetic Operators C supports the intrinsic numerical data types with predefined monadic.

They support a very efficient programming in some special cases that are awkward, complicated, or slow in other higher programming languages. = 1= «= »=, which are used in expressions of the form x += y as an abbreviation for the assignment x = x + (y). Assigment operators are customarily used whenever an operand occurs both on the left side and on the right side of an assignment. The use of these operators allows the compiler to generate a more efficient code of the expression because some load and store operations may be avoided.

Therefore, local variables of the corresponding types are implicitly declared in the function and initialized with the actual parameter values. The formal parameters may be manipulated in the subprogram without altering the values of the actual parameters in the calling program unit. The values of the actual parameters are copied in at the beginning of the function call. After control returns to the calling unit, their values remain unchanged. This concept is the same as the "call by value" parameter passing in PASCAL programs.

Download PDF sample

Rated 4.33 of 5 – based on 7 votes