Werner Smekal <[EMAIL PROTECTED]> writes: > Hi Alan, > >> We need a volunteer to step forward to change example 21 in C so that it >> uses a simple random number generator that is internal to the example >> (perhaps something extremely simple but reasonably effective if you pick a >> "good" seed such as the middle square method described at >> http://en.wikipedia.org/wiki/Middle-square_method) and also so that >> execution times are not made part of PLplot labels. Once these changes were >> propagated to the rest of the front ends, this should hopefully make example >> 21 results uniform for all front-ends. > > Coincidently, I was thinking about a RNG provided by the PLplot library. > If nobody uses it except our example 21, no problem, since the code of > RNGs is rather short, so no harm done here, and maybe some users find it > useful though. A very good one (passed the diehard test), although maybe > not good enough for encryption (don't think that will be a problem :), > is the Mersenne Twister RNG >
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. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel