NumCpp
2.1.0
A C++ implementation of the Python Numpy library
generator.hpp
Go to the documentation of this file.
1
#pragma once
30
31
#include "
NumCpp/Core/Types.hpp
"
32
33
#include <random>
34
35
namespace
nc
36
{
37
namespace
random
38
{
40
static
std::mt19937_64
generator_
;
41
42
//============================================================================
43
// Method Description:
51
inline
void
seed
(
uint32
inSeed)
52
{
53
generator_
.seed(inSeed);
54
}
55
}
// namespace random
56
}
// namespace nc
nc::uint32
std::uint32_t uint32
Definition:
Types.hpp:41
nc
Definition:
Coordinate.hpp:45
nc::random::generator_
static std::mt19937_64 generator_
generator function
Definition:
generator.hpp:40
nc::random::seed
void seed(uint32 inSeed)
Definition:
generator.hpp:51
Types.hpp
include
NumCpp
Random
generator.hpp
Generated by
1.8.17