autoppl  v0.8
A C++ template library for probabilistic programming
ppl::expr::dist::Wishart< VType, NType > Struct Template Reference

#include <wishart.hpp>

Inheritance diagram for ppl::expr::dist::Wishart< VType, NType >:
ppl::util::DistExprBase< Wishart< VType, NType > > ppl::util::BaseCRTP< Wishart< VType, NType > >

Public Types

using value_t = util::cont_param_t
 
using base_t = util::DistExprBase< Wishart< v_t, n_t > >
 
using dist_value_t = util::dist_value_t
 
- Public Types inherited from ppl::util::DistExprBase< Wishart< VType, NType > >
using dist_value_t = util::dist_value_t
 

Public Member Functions

 Wishart (const v_t &v, const n_t &n)
 
template<class XType >
dist_value_t log_pdf (const XType &x) const
 
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 >
bool prune (XType &, GenType &) const
 
- Public Member Functions inherited from ppl::util::BaseCRTP< Wishart< VType, NType > >
Wishart< VType, NType > & self ()
 
const Wishart< VType, NType > & self () const
 

Detailed Description

template<class VType, class NType>
struct ppl::expr::dist::Wishart< VType, NType >

Wishart is a generic distribution expression representing the wishart distribution.

Template Parameters
VTypevariable expression type for the scale matrix.
NTypevariable expression type for the scalar n.

Member Typedef Documentation

◆ base_t

template<class VType , class NType >
using ppl::expr::dist::Wishart< VType, NType >::base_t = util::DistExprBase<Wishart<v_t, n_t> >

◆ dist_value_t

template<class VType , class NType >
using ppl::util::DistExprBase< T >::dist_value_t = util::dist_value_t

◆ value_t

template<class VType , class NType >
using ppl::expr::dist::Wishart< VType, NType >::value_t = util::cont_param_t

Constructor & Destructor Documentation

◆ Wishart()

template<class VType , class NType >
ppl::expr::dist::Wishart< VType, NType >::Wishart ( const v_t &  v,
const n_t &  n 
)
inline

Member Function Documentation

◆ activate_refcnt()

template<class VType , class NType >
void ppl::expr::dist::Wishart< VType, NType >::activate_refcnt ( ) const
inline

◆ ad_log_pdf()

template<class VType , class NType >
template<class XType , class PtrPackType >
auto ppl::expr::dist::Wishart< VType, NType >::ad_log_pdf ( const XType &  x,
const PtrPackType &  pack 
) const
inline

◆ bind()

template<class VType , class NType >
template<class PtrPackType >
void ppl::expr::dist::Wishart< VType, NType >::bind ( const PtrPackType &  pack)
inline

◆ log_pdf()

template<class VType , class NType >
template<class XType >
dist_value_t ppl::expr::dist::Wishart< VType, NType >::log_pdf ( const XType &  x) const
inline

◆ prune()

template<class VType , class NType >
template<class XType , class GenType >
bool ppl::expr::dist::Wishart< VType, NType >::prune ( XType &  ,
GenType &   
) const
inline

The documentation for this struct was generated from the following file: