fmcs  v0.2.1
Beta Struct Reference

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

#include "distributions.hpp"

Inheritance diagram for Beta:
Distribution< Beta, double >

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 Member Functions inherited from Distribution< Beta, double >
double logprob (double value)
 
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: