autoppl
v0.8
A C++ template library for probabilistic programming
|
#include <cauchy.hpp>
Public Types | |
using | value_t = util::cont_param_t |
using | base_t = util::DistExprBase< Cauchy< loc_t, scale_t > > |
using | dist_value_t = util::dist_value_t |
![]() | |
using | dist_value_t = util::dist_value_t |
Public Member Functions | |
Cauchy (const loc_t &loc, const scale_t &scale) | |
template<class XType > | |
dist_value_t | log_pdf (const XType &x) |
template<class XType , class PtrPackType > | |
auto | ad_log_pdf (const XType &x, const PtrPackType &pack) const |
template<class PtrPackType > | |
void | bind (const PtrPackType &pack) |
void | activate_refcnt () const |
template<class XType , class GenType > | |
constexpr bool | prune (XType &, GenType &) const |
![]() | |
Cauchy< LocType, ScaleType > & | self () |
const Cauchy< LocType, ScaleType > & | self () const |
Cauchy is a generic expression type for the cauchy distribution.
If LocType or ScaleType is a vector, then the variable assigned to this distribution must also be a vector.
LocType | variable expression for the loc. Cannot be a matrix shape. |
ScaleType | variable expression for the scale. Cannot be a matrix shape. |
using ppl::expr::dist::Cauchy< LocType, ScaleType >::base_t = util::DistExprBase<Cauchy<loc_t, scale_t> > |
using ppl::util::DistExprBase< T >::dist_value_t = util::dist_value_t |
using ppl::expr::dist::Cauchy< LocType, ScaleType >::value_t = util::cont_param_t |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |