null character without reason in written files

Daniel Molina García unomas@correo.ugr.es
Thu Oct 31 22:08:00 GMT 2013


> >Recipe: do a simple program printing numbers between 0 and 1 and plot 
> >them, with the x-coordinate being the order in which they appears and y 
> >the number you got. You should see a solid (at least, uniform) rectangle 
> >with the color of the dots, but instead, you will find some "roads of 
> >vaccum": values that almost never will appear.
> 
> I suspect that you are confusing randomness and uniformity.

I used the word uniform in context of filling a rectangle, equivalently
to homogeneous. 

It is an important characteristic of a rng. Usually one checks if the
random number is in a given interval, and then you do something.
Uniformity is important then. In fact, gsl functions for getting random
numbers are called "get_uniform".



More information about the Fortran mailing list