NumCpp
2.6.2
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 "
NumCpp/Core/Types.hpp
"
31
32
#include <random>
33
34
namespace
nc
35
{
36
namespace
random
37
{
39
static
std::mt19937_64
generator_
;
40
41
//============================================================================
42
// Method Description:
50
inline
void
seed
(
uint32
inSeed)
51
{
52
generator_
.seed(inSeed);
53
}
54
}
// namespace random
55
}
// namespace nc
Types.hpp
nc::random::seed
void seed(uint32 inSeed)
Definition:
generator.hpp:50
nc::random::generator_
static std::mt19937_64 generator_
generator function
Definition:
generator.hpp:39
nc
Definition:
Coordinate.hpp:45
nc::uint32
std::uint32_t uint32
Definition:
Types.hpp:40
include
NumCpp
Random
generator.hpp
Generated by
1.9.2