I am using gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11) compiler. Uniform real distribution function does not work in it. Is there some way I may generate numbers between 0 to 1 [0,1] in my present compiler according to
- Uniform random distribution
- Gaussian distribution
- Exponential distribution.
I can not upgrade the compiler my project has a lot of dependencies on current 4.4.7 version. Either C or C++ will work for me.
rand). Why you can't get modern compiler? If it is your home project it should be easy. - senfen<tr1/random>? - chris