|
TOP --> libjdl
Base class for the random number generators.
int main(int,char**) { CJdlRandomLcmCls lcm; // linear congruential method CJdlRandomAcmCls acm; // additive congruential method lcm.seed(1017); acm.seed(1017); for(int i=0;i<10;i++) { cout << "numbers => " << lcm.random() << " " << acm.random() << endl; } return 0;
protected CJdlRandomBaseCls ( ) ;
protected long m_mod
protected long m_m1
protected long Mult ( long p , long q ) const ;
This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to return to the top of the page. |