Blender V2.61 - r43446
Classes | Functions

MERSENNETWISTER.h File Reference

#include <iostream>
#include <limits.h>
#include <stdio.h>
#include <time.h>
#include <math.h>

Go to the source code of this file.

Classes

class  MTRand

Functions

std::ostream & operator<< (std::ostream &os, const MTRand &mtrand)
std::istream & operator>> (std::istream &is, MTRand &mtrand)

Detailed Description

Definition in file MERSENNETWISTER.h.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const MTRand mtrand 
) [inline]

Definition at line 372 of file MERSENNETWISTER.h.

References i, MTRand::left, MTRand::N, and MTRand::state.

std::istream& operator>> ( std::istream &  is,
MTRand mtrand 
) [inline]

Definition at line 381 of file MERSENNETWISTER.h.

References i, MTRand::left, MTRand::N, MTRand::pNext, and MTRand::state.