NumCpp
2.8.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
nc::random::generator_
static std::mt19937_64 generator_
generator function
Definition:
generator.hpp:37
nc::random::seed
void seed(int inSeed)
Definition:
generator.hpp:48
nc
Definition:
Coordinate.hpp:45
include
NumCpp
Random
generator.hpp
Generated by
1.9.1