does anyone know, which algorithm the Eigen library for C++ uses in the method Random():
?
If eigen passes this decision on to the compiler (using its standard method to create pseudo random numbers), than I would like to know which algorithm g++ (gcc49 4.9.2_2) uses as default.
Any helpful hint is much appreciated.
As Paul R pointed out, the default is to just call
rand
. If you look in Eigen/src/Core/MathFunctions.h you'll find the default:or variants on the theme (for different variable types).