autoppl  v0.8
A C++ template library for probabilistic programming
normal.hpp File Reference
#include <fastad_bits/reverse/stat/normal.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::normal_valid_param_dim_case_1< MeanType, SigmaType >
 
struct  ppl::expr::dist::details::normal_valid_param_dim_case_2< MeanType, SigmaType >
 
struct  ppl::expr::dist::details::normal_valid_dim< VarType, MeanType, SigmaType >
 
struct  ppl::expr::dist::Normal< MeanType, SigmaType >
 

Namespaces

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

Macros

#define PPL_NORMAL_PARAM_SHAPE    "Normal distribution mean must either be a scalar or vector. "
 

Functions

template<class MeanType , class SDType , class = std::enable_if_t< util::is_valid_dist_param_v<MeanType> && util::is_valid_dist_param_v<SDType> >>
constexpr auto ppl::normal (const MeanType &mean_expr, const SDType &sd_expr)
 

Variables

template<class MeanType , class SigmaType >
constexpr bool ppl::expr::dist::details::normal_valid_param_dim_case_1_v
 
template<class MeanType , class SigmaType >
constexpr bool ppl::expr::dist::details::normal_valid_param_dim_case_2_v
 
template<class VarType , class MeanType , class SigmaType >
constexpr bool ppl::expr::dist::details::normal_valid_dim_v
 

Macro Definition Documentation

◆ PPL_NORMAL_PARAM_SHAPE

#define PPL_NORMAL_PARAM_SHAPE    "Normal distribution mean must either be a scalar or vector. "