OpenKalman
Classes | Namespaces | Functions
randomize.hpp File Reference

Randomization functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  OpenKalman::detail::is_std_dist< T, typename, typename >
 
struct  OpenKalman::detail::is_std_dist< T, std::void_t< typename T::result_type >, std::void_t< typename T::param_type > >
 
struct  OpenKalman::detail::RandomizeGenerator< random_number_generator >
 
struct  OpenKalman::detail::RandomizeOp< random_number_generator, distribution_type >
 

Namespaces

 OpenKalman
 The root namespace for OpenKalman.
 
 OpenKalman::detail
 T is an acceptable noise perturbation input to a tests.
 

Functions

template<typename G , typename D >
 OpenKalman::detail::RandomizeOp (G &, D &&) -> RandomizeOp< G, D >
 
template<typename PatternMatrix , std::size_t... indices, typename random_number_generator , typename... Ds, typename... Dists>
constexpr auto OpenKalman::randomize (random_number_generator &gen, const std::tuple< Ds... > &ds_tuple, Dists &&...dists)
 Create an indexible object with random values selected from one or more random distributions. More...
 
template<typename PatternMatrix , std::size_t... indices, typename... Ds, typename... Dists>
constexpr auto OpenKalman::randomize (const std::tuple< Ds... > &d_tuple, Dists &&...dists)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
template<typename PatternMatrix , std::size_t... indices, typename random_number_generator , typename... Dists, std::enable_if_t< indexible< PatternMatrix > and(not has_dynamic_dimensions< PatternMatrix >) and(sizeof...(Dists)==(1 *... *index_dimension_of< PatternMatrix, indices >::value)) and((std::is_arithmetic_v< Dists > or detail::is_std_dist< Dists >::value) and ...), int > = 0>
constexpr auto OpenKalman::randomize (random_number_generator &gen, Dists &&...dists)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
template<typename PatternMatrix , std::size_t... indices, typename... Dists, std::enable_if_t< indexible< PatternMatrix > and(not has_dynamic_dimensions< PatternMatrix >) and(sizeof...(Dists)==(1 *... *index_dimension_of< PatternMatrix, indices >::value)) and((std::is_arithmetic_v< Dists > or detail::is_std_dist< Dists >::value) and ...), int > = 0>
constexpr auto OpenKalman::randomize (Dists &&...dists)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

Randomization functions.