NumCpp  2.9.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
generator.hpp
Go to the documentation of this file.
1 #pragma once
29 
30 #include <random>
31 
32 namespace nc
33 {
34  namespace random
35  {
37  static std::mt19937_64 generator_;
38 
39  //============================================================================
40  // Method Description:
48  inline void seed(int inSeed)
49  {
50  generator_.seed(inSeed);
51  }
52  } // namespace random
53 } // namespace nc
static std::mt19937_64 generator_
generator function
Definition: generator.hpp:37
void seed(int inSeed)
Definition: generator.hpp:48
Definition: Coordinate.hpp:45