MPL – Data types
In earlier posts I gave an introduction to the Message Passing Library (MPL). With MPL processes can send and receive messages with data of different data types. What kind of data types are supported...
View ArticleNew TRNG release
A new version of TRNG (Tina’s Random Number Generator Library) has been released. TRNG may be utilized in sequential as well as in parallel Monte Carlo simulations. It does not depend on a specific...
View ArticleRevisiting the named parameter idiom in C++14
Some programming languages have functions with named parameters. Named parameters let the programmer pass the parameters to a function in any order and they are distinguished by a name. So the...
View ArticleBoosting NumPy with MKL
The Intel Math Kernel Library (MKL) contains a collection of highly optimized numerical functions. Among others, it provides implementations of Blas functions and Lapack functions for various linear...
View ArticleC++11/14 for scientific computing VI
Floating-point exceptions During a numerical calculation various kinds of run-time errors may occur. In C++, such an error may be indicated via floating-point exceptions or via the (global but...
View ArticleR as random
The R programming language has gained some popularity in recent years. It is widely used for developing statistical software and data analysis but also for Monte Carlo simulations. Such Monte Carlo...
View ArticleFizzBuzz or the beauty of compile-time calculations in C++17
FizzBuzz is a popular test that is commonly used in job interviews for software developers. In this test one is asked to write a function that prints the numbers from 1 to 100. But for multiples of...
View ArticleRange-based for loops with counters
In C++11 we got range-based for loops which allow one to iterate over the elements of a container easily. In some situations, however, having sequential access to each element of the container is not...
View ArticleFrom numbers to images – Raw image processing with Python
Modern digital system cameras and also some digital compact cameras allow to create and to store images in a so-called raw format. A raw image contains the minimally pre-processed sensor data,...
View ArticleMPI debugging
MPI programs are more difficult to debug than other programs because of their parallel nature. The MPI programming model follows the single program multiple data paradigm or the multiple program...
View Article
More Pages to Explore .....