|
| Uniform (const min_t &min, const max_t &max) |
|
template<class XType > |
dist_value_t | pdf (const XType &x) |
|
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 > |
bool | prune (XType &x, GenType &gen) const |
|
Uniform< MinType, MaxType > & | self () |
|
const Uniform< MinType, MaxType > & | self () const |
|
template<class MinType, class MaxType>
struct ppl::expr::dist::Uniform< MinType, MaxType >
Uniform is a generic expression type for the uniform distribution.
If MinType or MaxType is a vector, then the variable assigned to this distribution must also be a vector.
- Template Parameters
-
MinType | variable expression for the min. Cannot be a matrix shape. |
MaxType | variable expression for the max. Cannot be a matrix shape. |