NumCpp
2.12.1
A Templatized Header Only C++ Implementation of the Python NumPy Library
generator.hpp
Go to the documentation of this file.
1
28
#pragma once
29
30
#include <random>
31
32
namespace
nc::random
33
{
35
static
std::mt19937_64
generator_
;
36
37
//============================================================================
38
// Method Description:
46
inline
void
seed
(
int
inSeed)
47
{
48
generator_
.seed(inSeed);
49
}
50
}
// namespace nc::random
nc::random
Definition:
Random/bernoulli.hpp:41
nc::random::generator_
static std::mt19937_64 generator_
generator function
Definition:
generator.hpp:35
nc::random::seed
void seed(int inSeed)
Definition:
generator.hpp:46
include
NumCpp
Random
generator.hpp
Generated by
1.9.4