Hi Jim,

> 
> Would it be better to just put a simple PRNG into example 21?  PLplot is
> a plotting library and I think it is better to focus on that.  

The drawback of this would be, that we would need to port the RNG to all 
languages we provided, rather than providing just an interface to RNG 
code in the library, with all the problems (rounding, etc.).

Apart from that, for my thesis I produced a lot of the plots with C 
programs using plplot and needed a RNG from time to time. Providing a 
cross platform RNG which produces the same results for all languages and 
platforms (e.g. for reproducibility) is within the scope of a plotting 
library I think. And as I wrote - it doesn't make the size of the 
library much bigger, so if it's not used, we don't care. It's a utility 
function for making plots.

And since the Mersenne Twister is a well tested code (e.g. MT is used a 
lot in Viruses :), I think it's not a bad choice, though there is some 
criticism.

Regards,
Werner

-- 
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: [EMAIL PROTECTED]
web:   http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office)
        +43-(0)1-58801-13469 (laboratory)
fax:   +43-(0)1-58801-13499

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to