|
MCKL
Monte Carlo Kernel Library
|
Perform TestU01 tests on different RNG and U01 types. More...
#include <mckl/random/testu01.hpp>
Public Member Functions | |
| TestU01 (const TestU01 &)=delete | |
| bool | empty () const |
| Return true if the TestU01 generator is not set or released. More... | |
| ::unif01_Gen * | gen () const |
| Get the TestU01 generator. More... | |
| template<typename Battery > | |
| void | operator() (Battery &&battery) |
Apply a battery that accepts a unif01_Gen pointer as input. More... | |
| template<typename BatteryRepeat > | |
| void | operator() (BatteryRepeat &&battery_repeat, int n) |
Apply a battery that accepts a unif01_Gen pointer as the first input, and an array of type int that specifies that replication number. More... | |
| template<typename BatteryRepeat , typename InputIter > | |
| void | operator() (BatteryRepeat &&battery_repeat, InputIter first, InputIter last, int n) |
Apply a battery that accepts a unif01_Gen pointer as the first input, and an array of type int that specifies that replication number. More... | |
| TestU01 & | operator= (const TestU01 &)=delete |
| void | release () |
| Release the TestU01 generator. More... | |
| template<typename RNGType , typename U01Type > | |
| void | reset (const std::string &name, bool parallel=false) |
| Reset the TestU01 generator to specified RNG and distribution. More... | |
| template<typename RNGType , typename U01Type , std::size_t N, std::size_t M> | |
| void | reset (const std::string &name, bool parallel=false) |
| Reset the TestU01 generator to specified RNG and distribution. More... | |
| void | reset (const std::string &name, double(*u01)()) |
| Reset the TestU01 generator to specified distribution. More... | |
Static Public Member Functions | |
| static TestU01 & | instance () |
Perform TestU01 tests on different RNG and U01 types.
Definition at line 48 of file testu01.hpp.
|
delete |
|
inline |
Return true if the TestU01 generator is not set or released.
Definition at line 62 of file testu01.hpp.
|
inline |
Get the TestU01 generator.
Definition at line 97 of file testu01.hpp.
|
inlinestatic |
Definition at line 54 of file testu01.hpp.
|
inline |
Apply a battery that accepts a unif01_Gen pointer as input.
Definition at line 101 of file testu01.hpp.
|
inline |
Apply a battery that accepts a unif01_Gen pointer as the first input, and an array of type int that specifies that replication number.
Each element in the array is set to n. This currently only work with bbattery_RepeatSmallCrush due to TestU01's internal limits of at most 200 p-values can be returned by a single battery.
Definition at line 115 of file testu01.hpp.
|
inline |
Apply a battery that accepts a unif01_Gen pointer as the first input, and an array of type int that specifies that replication number.
The range [first, last) contains enumeration numbers of tests to be repeated. Each will be repeated n times.
Definition at line 129 of file testu01.hpp.
|
inline |
Release the TestU01 generator.
Definition at line 89 of file testu01.hpp.
|
inline |
Reset the TestU01 generator to specified RNG and distribution.
Definition at line 66 of file testu01.hpp.
|
inline |
Reset the TestU01 generator to specified RNG and distribution.
Definition at line 74 of file testu01.hpp.
|
inline |
Reset the TestU01 generator to specified distribution.
Definition at line 81 of file testu01.hpp.
1.8.13