random number generator
this is a thin wrapper around the standard C++11 std::mt19937 random number generator. It can be used in combination with the standard C++11 distributions. It differs from the standard in its constructors: the default constructor will seed using std::random_device, unless a seed has been expicitly passed using the MRTRIX_RNG_SEED environment variable. The copy constructor will seed itself using 1 + the last seed used - this ensures the seeds are unique across instances in multi-threading.
Definition at line 44 of file rng.h.