← Back to team overview

yade-users team mailing list archive

A might be stupid question, about random number generator

 

Reply to myself in addition:

It means change the seed of the random number generator.

Hi, all:
I have to admit that I ask this question totally because I am ignorance about
Linux and KDevelop
For such kind of command:

Real radius = (Mathr::intervalRandom(minRadius,maxRadius));

How to change the random number generator so that the radius will really
become random for different runs? Like in the Win32 platform, you can always
have something like Randomize()?

Thanks!

Feng, Chen

_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users

_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users



Follow ups