VPTissue Reference Manual
RandomEngine.cpp File Reference

Implementation of RandomEngine. More...

Include dependency graph for RandomEngine.cpp:

Go to the source code of this file.

Namespaces

 SimPT_Sim
 Namespace for the core simulator.
 

Functions

template<typename T >
void SimPT_Sim::para_seed (std::vector< T > &rngs, const unsigned long seed)
 Seed a vector of random number generators and splits in 'n' parallel streams using the leapfrog scheme, where 'n' is the size of the vector 'rngs'. More...
 
template<typename T >
void SimPT_Sim::para_seed (std::vector< T > &rngs, const std::string &state)
 Seed a vector of random number generators and splits in 'n' parallel streams using the leapfrog scheme, where 'n' is the size of the vector 'rngs'. More...
 

Detailed Description

Implementation of RandomEngine.

Definition in file RandomEngine.cpp.