#include <iostream>#include <limits.h>#include <stdio.h>#include <time.h>Go to the source code of this file.
Compounds | |
| class | MTRand |
Functions | |
| std::ostream & | operator<< (std::ostream &os, const MTRand &mtrand) |
| std::istream & | operator>> (std::istream &is, MTRand &mtrand) |
|
||||||||||||
|
Definition at line 298 of file MersenneTwister.h. References MTRand::left, MTRand::N, MTRand::state, and MTRand::uint32.
00299 {
00300 register const MTRand::uint32 *s = mtrand.state;
00301 register int i = mtrand.N;
00302 for( ; i--; os << *s++ << "\t" ) {}
00303 return os << mtrand.left;
00304 }
|
|
||||||||||||
|
Definition at line 307 of file MersenneTwister.h. References MTRand::left, MTRand::N, MTRand::pNext, MTRand::state, and MTRand::uint32.
|
1.2.16