Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

mp::prng Namespace Reference

Container for PRNG tools. More...


Functions

bool lfsr (reg &x, reg mask)

Variables

static reg state [2] = {3, 3}


Detailed Description

Container for PRNG tools.

Keep all PRNG stuff in here to keep the mp namespace from being cluttered. I don't feel that it's necessary to create a class just for the PRNG, because all of the access to it is through the three MPN functions .


Function Documentation

bool lfsr reg &  x,
reg  mask
 


Variable Documentation

reg mp::prng::state[2] = {3, 3} [static]
 


Generated on Fri Feb 4 16:17:55 2005 for LibMP++ by  doxygen 1.4.1