autoppl  v0.8
A C++ template library for probabilistic programming
uniform.hpp File Reference
#include <cassert>
#include <random>
#include <fastad_bits/reverse/stat/uniform.hpp>
#include <autoppl/util/traits/traits.hpp>
#include <autoppl/expression/distribution/dist_utils.hpp>
#include <autoppl/math/density.hpp>
#include <autoppl/math/math.hpp>

Go to the source code of this file.

Classes

struct  ppl::expr::dist::details::uniform_valid_param_dim< MinType, MaxType >
 
struct  ppl::expr::dist::details::uniform_valid_dim< VarType, MinType, MaxType >
 
struct  ppl::expr::dist::Uniform< MinType, MaxType >
 

Namespaces

 ppl
 
 ppl::expr
 
 ppl::expr::dist
 
 ppl::expr::dist::details
 

Macros

#define PPL_UNIFORM_PARAM_SHAPE    "Uniform parameters min and max must be either scalar or vector. "
 

Functions

template<class MinType , class MaxType , class = std::enable_if_t< util::is_valid_dist_param_v<MinType> && util::is_valid_dist_param_v<MaxType> >>
constexpr auto ppl::uniform (const MinType &min_expr, const MaxType &max_expr)
 

Variables

template<class MinType , class MaxType >
constexpr bool ppl::expr::dist::details::uniform_valid_param_dim_v
 
template<class VarType , class MinType , class MaxType >
constexpr bool ppl::expr::dist::details::uniform_valid_dim_v
 

Macro Definition Documentation

◆ PPL_UNIFORM_PARAM_SHAPE

#define PPL_UNIFORM_PARAM_SHAPE    "Uniform parameters min and max must be either scalar or vector. "