|
MCKL
Monte Carlo Kernel Library
|
#include <mckl/internal/common.hpp>Go to the source code of this file.
Namespaces | |
| mckl | |
| mckl::internal | |
Typedefs | |
| template<typename RNGType > | |
| using | mckl::SeedType = typename SeedTrait< RNGType >::type |
Functions | |
| template<typename IntType , IntType D, typename RealType > | |
| IntType | mckl::internal::ftoi (RealType r) |
| template<typename IntType , typename RealType > | |
| IntType | mckl::internal::ftoi (RealType x, std::true_type) |
| template<typename IntType , typename RealType > | |
| IntType | mckl::internal::ftoi (RealType x, std::false_type) |
| template<typename IntType , typename RealType > | |
| IntType | mckl::internal::ftoi (RealType x) |
| void | mckl::internal::group_np (double n, const Vector< double > &np_all, Vector< double > &np, std::size_t &kmin, std::size_t &kmax) |
| template<std::size_t N, typename ResultType > | |
| std::size_t | mckl::internal::permutation_imax (ResultType *r) |
| template<std::size_t T, typename ResultType > | |
| std::size_t | mckl::internal::permutation_index (ResultType *r) |
| template<std::size_t N, typename ResultType > | |
| void | mckl::internal::permutation_sort (ResultType *, std::size_t &, std::false_type) |
| template<std::size_t N, typename ResultType > | |
| void | mckl::internal::permutation_sort (ResultType *r, std::size_t &f, std::true_type) |
| template<typename RNGType > | |
| RNGType::result_type | mckl::rand (RNGType &rng) |
| Generate random integers. More... | |
| template<typename RNGType > | |
| void | mckl::rand (RNGType &rng, std::size_t n, typename RNGType::result_type *r) |
| Generate random integers. More... | |
| template<typename RNGType , typename DistributionType > | |
| DistributionType::result_type | mckl::rand (RNGType &rng, DistributionType &distribution) |
| Generate distribution random variates. More... | |
| template<typename RNGType , typename DistributionType > | |
| void | mckl::rand (RNGType &rng, DistributionType &distribution, std::size_t n, typename DistributionType::result_type *r) |
| Generate distribution random variates. More... | |
| template<std::size_t N, std::size_t D, std::size_t T> | |
| std::size_t | mckl::internal::serial_index (const std::size_t *, std::false_type) |
| template<std::size_t N, std::size_t D, std::size_t T> | |
| std::size_t | mckl::internal::serial_index (const std::size_t *s, std::true_type) |
| template<std::size_t D, std::size_t T, typename ResultType > | |
| std::size_t | mckl::internal::serial_index (const ResultType *r) |
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_0 | ( | Name, | |
| name, | |||
| T | |||
| ) |
Definition at line 714 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_1 | ( | Name, | |
| name, | |||
| T, | |||
| T1, | |||
| p1, | |||
| v1 | |||
| ) |
Definition at line 719 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_2 | ( | Name, | |
| name, | |||
| T, | |||
| T1, | |||
| p1, | |||
| v1, | |||
| T2, | |||
| p2, | |||
| v2 | |||
| ) |
Definition at line 724 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_4 | ( | Name, | |
| name, | |||
| T, | |||
| T1, | |||
| p1, | |||
| v1, | |||
| T2, | |||
| p2, | |||
| v2, | |||
| T3, | |||
| p3, | |||
| v3, | |||
| T4, | |||
| p4, | |||
| v4 | |||
| ) |
Definition at line 732 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_ASSERT_BLAS_TYPE | ( | Name | ) |
Definition at line 42 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_ASSERT_INT_TYPE | ( | Name, | |
| MinBits | |||
| ) |
Definition at line 47 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_ASSERT_REAL_TYPE | ( | Name | ) |
Definition at line 64 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_ASSERT_REAL_TYPE | ( | Name | ) |
Definition at line 64 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_ASSERT_UINT_TYPE | ( | Name, | |
| MinBits | |||
| ) |
Definition at line 55 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_BATCH_0 | ( | Name, | |
| name, | |||
| T | |||
| ) |
Definition at line 69 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_BATCH_1 | ( | Name, | |
| name, | |||
| T, | |||
| T1, | |||
| p1 | |||
| ) |
Definition at line 88 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_BATCH_2 | ( | Name, | |
| name, | |||
| T, | |||
| T1, | |||
| p1, | |||
| T2, | |||
| p2 | |||
| ) |
Definition at line 107 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_BATCH_4 | ( | Name, | |
| name, | |||
| T, | |||
| T1, | |||
| p1, | |||
| T2, | |||
| p2, | |||
| T3, | |||
| p3, | |||
| T4, | |||
| p4 | |||
| ) |
Definition at line 128 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_CONSTRUCTOR_0 | ( | Name, | |
| T | |||
| ) |
Definition at line 453 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_CONSTRUCTOR_1 | ( | Name, | |
| T, | |||
| T1, | |||
| p1, | |||
| v1 | |||
| ) |
Definition at line 462 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_CONSTRUCTOR_2 | ( | Name, | |
| T, | |||
| T1, | |||
| p1, | |||
| v1, | |||
| T2, | |||
| p2, | |||
| v2 | |||
| ) |
Definition at line 482 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_CONSTRUCTOR_4 | ( | Name, | |
| T, | |||
| T1, | |||
| p1, | |||
| v1, | |||
| T2, | |||
| p2, | |||
| v2, | |||
| T3, | |||
| p3, | |||
| v3, | |||
| T4, | |||
| p4, | |||
| v4 | |||
| ) |
Definition at line 507 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_MEMBER_0 |
Definition at line 536 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_MEMBER_1 | ( | T1, | |
| m1 | |||
| ) |
Definition at line 550 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_MEMBER_2 | ( | T1, | |
| m1, | |||
| T2, | |||
| m2 | |||
| ) |
Definition at line 583 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_OPERATOR | ( | Name, | |
| name | |||
| ) |
Definition at line 623 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_PARAM_TYPE_0 | ( | Name, | |
| T | |||
| ) |
Definition at line 153 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_PARAM_TYPE_1 | ( | Name, | |
| name, | |||
| T, | |||
| T1, | |||
| p1, | |||
| v1 | |||
| ) |
Definition at line 189 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_PARAM_TYPE_2 | ( | Name, | |
| name, | |||
| T, | |||
| T1, | |||
| p1, | |||
| v1, | |||
| T2, | |||
| p2, | |||
| v2 | |||
| ) |
Definition at line 265 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_PARAM_TYPE_4 | ( | Name, | |
| name, | |||
| T, | |||
| T1, | |||
| p1, | |||
| v1, | |||
| T2, | |||
| p2, | |||
| v2, | |||
| T3, | |||
| p3, | |||
| v3, | |||
| T4, | |||
| p4, | |||
| v4 | |||
| ) |
Definition at line 350 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_DISTRIBUTION_RAND | ( | Name, | |
| T | |||
| ) |
Definition at line 706 of file random/internal/common.hpp.
| #define MCKL_DEFINE_RANDOM_TEST_OPERATOR | ( | ResultType | ) |
Definition at line 740 of file random/internal/common.hpp.
1.8.13