|
autoppl
v0.8
A C++ template library for probabilistic programming
|
Namespaces | |
| details | |
Classes | |
| struct | BaseCRTP |
| struct | counting_iterator |
| struct | data_traits |
| struct | DataBase |
| struct | dist_expr_traits |
| struct | DistExprBase |
| struct | invalid_tag |
| struct | model_expr_traits |
| struct | ModelExprBase |
| struct | OffsetPack |
| struct | param_traits |
| struct | ParamBase |
| struct | program_expr_traits |
| struct | ProgramExprBase |
| struct | ProgressLogger |
| struct | PtrPack |
| struct | range |
| struct | StopWatch |
| struct | tparam_traits |
| struct | TParamBase |
| struct | var_expr_traits |
| struct | var_traits |
| struct | VarBase |
| struct | VarExprBase |
Typedefs | |
| using | cont_ptr_pack_t = PtrPack< util::cont_param_t *, util::cont_param_t *, util::cont_param_t *, util::cont_param_t *, util::cont_param_t * > |
| using | disc_ptr_pack_t = PtrPack< util::disc_param_t *, void *, util::disc_param_t *, void *, util::disc_param_t * > |
| using | dist_value_t = double |
| using | cont_param_t = double |
| using | disc_param_t = int32_t |
| template<class T > | |
| using | shape_traits = ad::util::shape_traits< T > |
| template<class V , class T > | |
| using | var_t = typename details::var< V, T >::type |
| template<class T > | |
| using | convert_to_param_t = typename details::convert_to_param< T >::type |
| template<class T > | |
| using | convert_to_program_t = typename details::convert_to_program< T >::type |
Functions | |
| template<class IntType > | |
| constexpr bool | operator== (const counting_iterator< IntType > &it1, const counting_iterator< IntType > &it2) |
| template<class IntType > | |
| constexpr bool | operator!= (const counting_iterator< IntType > &it1, const counting_iterator< IntType > &it2) |
| template<class UCValPtrType = std::nullptr_t, class UCAdjPtrType = std::nullptr_t, class TPValPtrType = std::nullptr_t, class TPAdjPtrType = std::nullptr_t, class CValPtrType = std::nullptr_t> | |
| constexpr auto | make_ptr_pack (UCValPtrType _uc_val=nullptr, UCAdjPtrType _uc_adj=nullptr, TPValPtrType _tp_val=nullptr, TPAdjPtrType _tp_adj=nullptr, CValPtrType _c_val=nullptr, size_t *_v_val=nullptr) |
| DEFINE_HAS_TYPE (value_t) | |
| DEFINE_HAS_TYPE (pointer_t) | |
| DEFINE_HAS_TYPE (const_pointer_t) | |
| DEFINE_HAS_TYPE (id_t) | |
| DEFINE_HAS_TYPE (index_t) | |
| DEFINE_HAS_TYPE (vec_t) | |
| DEFINE_HAS_TYPE (mat_t) | |
| DEFINE_HAS_TYPE (shape_t) | |
| DEFINE_HAS_TYPE (dist_value_t) | |
| DEFINE_HAS_FUNC (size) | |
| DEFINE_HAS_FUNC (id) | |
| DEFINE_HAS_FUNC (get_variable) | |
| DEFINE_HAS_FUNC (get_distribution) | |
| DEFINE_ASSERT_TWO_PARAM (is_explicitly_convertible_v) | |
| template<class ValueType , class ShapeType > | |
| constexpr auto | make_val (size_t rows=1, size_t cols=1) |
| template<class T > | |
| constexpr size_t | size (const T &x) |
| template<class T > | |
| constexpr size_t | rows (const T &x) |
| template<class T > | |
| constexpr size_t | cols (const T &x) |
| template<class T > | |
| auto & | get (T &&x) |
| template<class T , class ValPtrType > | |
| void | bind (T &x, ValPtrType begin, size_t rows=1, size_t cols=1) |
| template<class T > | |
| constexpr auto | to_array (const T &x) |
Variables | |
| template<class T > | |
| constexpr bool | dist_expr_is_base_of_v |
| template<class T > | |
| constexpr bool | is_dist_expr_v |
| template<class T > | |
| constexpr bool | model_expr_is_base_of_v |
| template<class T > | |
| constexpr bool | is_model_expr_v |
| template<class T > | |
| constexpr bool | program_expr_is_base_of_v |
| template<class T > | |
| constexpr bool | is_program_expr_v |
| template<class T > | |
| constexpr bool | is_scl_v = ad::util::is_scl_v<T> |
| template<class T > | |
| constexpr bool | is_vec_v = ad::util::is_vec_v<T> |
| template<class T > | |
| constexpr bool | is_mat_v = ad::util::is_mat_v<T> |
| template<class T > | |
| constexpr bool | is_shape_v |
| template<class T > | |
| constexpr bool | is_shape_tag_v |
| template<class T > | |
| constexpr bool | is_valid_dist_param_v |
| template<class T1 , class T2 > | |
| constexpr bool | is_not_both_arithmetic_v |
| template<class T > | |
| constexpr bool | is_valid_op_param_v |
| template<class From , class To > | |
| constexpr bool | is_explicitly_convertible_v |
| template<class T > | |
| constexpr bool | is_cont_v = std::is_floating_point_v<T> |
| template<class T > | |
| constexpr bool | is_disc_v = std::is_integral_v<T> |
| template<class T > | |
| constexpr bool | var_expr_is_base_of_v |
| template<class T > | |
| constexpr bool | is_var_expr_v |
| template<class T > | |
| constexpr bool | param_is_base_of_v |
| template<class T > | |
| constexpr bool | tparam_is_base_of_v |
| template<class T > | |
| constexpr bool | data_is_base_of_v |
| template<class T > | |
| constexpr bool | is_param_v |
| template<class T > | |
| constexpr bool | is_tparam_v |
| template<class T > | |
| constexpr bool | is_data_v |
| template<class T > | |
| constexpr bool | is_var_v |
| template<class T > | |
| constexpr bool | is_dist_assignable_v |
| using ppl::util::cont_param_t = typedef double |
| using ppl::util::cont_ptr_pack_t = typedef PtrPack<util::cont_param_t*, util::cont_param_t*, util::cont_param_t*, util::cont_param_t*, util::cont_param_t*> |
| using ppl::util::convert_to_param_t = typedef typename details::convert_to_param<T>::type |
| using ppl::util::convert_to_program_t = typedef typename details::convert_to_program<T>::type |
| using ppl::util::disc_param_t = typedef int32_t |
| using ppl::util::disc_ptr_pack_t = typedef PtrPack<util::disc_param_t*, void*, util::disc_param_t*, void*, util::disc_param_t*> |
| using ppl::util::dist_value_t = typedef double |
| using ppl::util::shape_traits = typedef ad::util::shape_traits<T> |
| using ppl::util::var_t = typedef typename details::var<V, T>::type |
| void ppl::util::bind | ( | T & | x, |
| ValPtrType | begin, | ||
| size_t | rows = 1, |
||
| size_t | cols = 1 |
||
| ) |
|
constexpr |
| ppl::util::DEFINE_ASSERT_TWO_PARAM | ( | is_explicitly_convertible_v | ) |
| ppl::util::DEFINE_HAS_FUNC | ( | get_distribution | ) |
| ppl::util::DEFINE_HAS_FUNC | ( | get_variable | ) |
| ppl::util::DEFINE_HAS_FUNC | ( | id | ) |
| ppl::util::DEFINE_HAS_FUNC | ( | size | ) |
| ppl::util::DEFINE_HAS_TYPE | ( | const_pointer_t | ) |
| ppl::util::DEFINE_HAS_TYPE | ( | dist_value_t | ) |
| ppl::util::DEFINE_HAS_TYPE | ( | id_t | ) |
| ppl::util::DEFINE_HAS_TYPE | ( | index_t | ) |
| ppl::util::DEFINE_HAS_TYPE | ( | mat_t | ) |
| ppl::util::DEFINE_HAS_TYPE | ( | pointer_t | ) |
| ppl::util::DEFINE_HAS_TYPE | ( | shape_t | ) |
| ppl::util::DEFINE_HAS_TYPE | ( | value_t | ) |
| ppl::util::DEFINE_HAS_TYPE | ( | vec_t | ) |
| auto& ppl::util::get | ( | T && | x | ) |
|
inlineconstexpr |
|
constexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
|
constexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
A distribution expression is any class that satisfies the following concept:
|
inlineconstexpr |
Checks if type From can be explicitly converted to type To.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Checks if the decayed types of T1 and T2 are not both arithmetic types.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Checks if T is a shape tag.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Checks if valid distribution parameter:
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
Checks if ModelExprBase<T> is base of type T
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |