lppl  v2.0.0
Beta Struct Reference

A beta distribution parameterized by shape parameters alpha and beta. More...

#include "distributions.hpp"

Public Member Functions

 Beta (double alpha, double beta)
 
 Beta (double beta)
 
template<typename... Vs>
 Beta (std::variant< Vs... > alpha, std::variant< Vs... > beta)
 
double logprob (double value) const
 
template<typename RNG >
double sample (RNG &rng)
 
std::string string () const
 

Public Attributes

double alpha
 
Gamma alpha_dist
 
double beta
 
Gamma beta_dist
 

Detailed Description

A beta distribution parameterized by shape parameters alpha and beta.


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