TOP --> libjdl
- class CJdlRandomLcmCls
- extends CJdlRandomBaseCls as public
Linear Congruential Method random number generator.
- Author:
-
Joe Linoff
- Version:
-
$Id: jdlrandom.h,v 1.3 1999/06/12 18:26:00 jdl Exp $
- Source:
-
../../libjdl/src/jdlrandom.h:59
- See Also:
-
CJdlRandomBaseCls, CJdlRandomAcmCls, CJdlRandomBaseCls
- CJdlRandomLcmCls
- [public] Create a random number class.
- GetNext
- [public]
- Random
- [public]
- SetSeed
- [public] Set the seed.
CJdlRandomLcmCls
public CJdlRandomLcmCls ( ) ;
Create a random number class.
The seed is set to 1234567.
SetSeed
public void SetSeed ( long seed ) ;
Set the seed.
- Parameters:
-
seed
| Long representing the seed.
|
GetNext
public long GetNext ( ) ;
- Return:
-
A pseudo random number.
Random
public long Random ( ) ;
- Return:
-
A pseudo random number.
This documentation was generated automatically by the ccdoc tool (version 0.7a).
Click here to submit a bug report or feature request.
Click here to return to the top of the page.
|