autoppl
v0.8
A C++ template library for probabilistic programming
|
Go to the documentation of this file.
2 #if __cplusplus <= 201703L
31 std::is_base_of_v<DistExprBase<T>, T>;
38 template <
class DistExprType>
41 using value_t =
typename DistExprType::value_t;
43 static constexpr
bool is_cont_v = util::is_cont_v<value_t>;
44 static constexpr
bool is_disc_v = util::is_disc_v<value_t>;
50 #if __cplusplus <= 201703L
57 dist_expr_is_base_of_v<T> &&
58 has_type_value_t_v<T> &&
59 has_type_dist_value_t_v<T>
66 dist_expr_is_base_of_v<T> &&
#define PPL_CONT_XOR_DISC
Definition: type_traits.hpp:42
constexpr bool is_dist_expr_v
Definition: dist_expr_traits.hpp:56
Definition: dist_expr_traits.hpp:24
Definition: dist_expr_traits.hpp:40
static constexpr bool is_cont_v
Definition: dist_expr_traits.hpp:43
Definition: type_traits.hpp:65
int32_t disc_param_t
Definition: dist_expr_traits.hpp:15
constexpr bool dist_expr_is_base_of_v
Definition: dist_expr_traits.hpp:30
typename DistExprType::value_t value_t
Definition: dist_expr_traits.hpp:41
typename DistExprType::dist_value_t dist_value_t
Definition: dist_expr_traits.hpp:42
util::dist_value_t dist_value_t
Definition: dist_expr_traits.hpp:26
double cont_param_t
Definition: dist_expr_traits.hpp:14
static constexpr bool is_disc_v
Definition: dist_expr_traits.hpp:44
double dist_value_t
Definition: dist_expr_traits.hpp:13
Definition: bounded.hpp:11