cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
random.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_BASIC_FUNCTIONS_RANDOM_H
4#define pRC_CORE_BASIC_FUNCTIONS_RANDOM_H
5
7
8namespace pRC
9{
10 template<class T, class D,
12 static inline constexpr auto random(RandomEngine &rng, D &distribution)
13 {
14 return Random<T, D>(rng, distribution)();
15 }
16}
17#endif // pRC_CORE_BASIC_FUNCTIONS_RANDOM_H
pRC::Size const D
Definition CalculatePThetaTests.cpp:9
Definition threefry.hpp:24
pRC::Float<> T
Definition externs_nonTT.hpp:1
Definition cholesky.hpp:18
static constexpr auto makeConstantSequence()
Definition sequence.hpp:402
static constexpr auto random(RandomEngine &rng, D &distribution)
Definition random.hpp:12
Threefry< 20 > RandomEngine
Definition type_traits.hpp:13