diff --git a/eo/tutorial/html/eoProgramming.html b/eo/tutorial/html/eoProgramming.html index 2ad60f5c8..41eb52402 100644 --- a/eo/tutorial/html/eoProgramming.html +++ b/eo/tutorial/html/eoProgramming.html @@ -176,14 +176,15 @@ Template Library. of STL to use EO (like with "hello", "please" and "goodbye" you can survive in a foreign country :-) and even to contribute to new EO features. Moreover, while browsing through EO code, you will gradually learn how -to use STL, especially if you check at the SGI STL -Web site from time to time, where you can not only download STL, but -also browse in the Programmer's guide for isntance from the Table +to use STL, especially if you check at the SGI +STL Web site from time to time, where you can not only download STL, +but also browse in the Programmer's guide for isntance from the Table of Content.
Anyway, you will only find here, in EO tutorial, the basics of STL that you will need to understand most of EO code - and to guess what the parts you don't understand are actually doing. Don't worry, I -don't understand everything :-) +don't +understand everything :-)
STL provides the user with containers, iterators and algorithms. And you can access @@ -306,15 +307,15 @@ numbers who look random (w.r.t. some statistical criteria). to ensure reproducibility of the results across different platforms, EO has its own RNG, the ``Mersenne Twister'' random number generator MT19937 (thanks to Takuji -Nishimura, see eoRNG.h +Nishimura, see eoRNG.h comments).
Though you can define and use as many RNGs as you wish in EO, the library -also provides you with a global RNG termed rng: using only that single -RNG in all calls to random numbers allows one to be able to reproduce -a given run: +also provides you with a global RNG termed eo::rng. +Using that single RNG in all calls to random numbers allows one to be able +to reproduce a given run:
EO also provides random_generators +distribution). See the complete +list of RNG primitives. +
EO also provides random_generators that can be used in STL call to generate series of random numbers, as in eoPop initializers. -
+
Note: the eo::
+prefix indicates that it is in a separate C++ namespace, to avoid collision
+with possible variables that would also be named rng in some other library.
+As early versions of EO (<= 9.1) did not use a separate namespace
+for rng, the compiler directive using eo::rng in eoRNG.h allows you to
+use the name rng without the eo::
+prefix. However, the notation eo::rng
+should be preferred and might become mandatory some day.
+
+
+
class eoMyClass
{
public: