lppl  v2.0.0
Gamma Struct Reference

#include "distributions.hpp"

Public Member Functions

 Gamma ()
 
 Gamma (double k, double theta)
 
 Gamma (double theta)
 
template<typename... Vs>
 Gamma (std::variant< Vs... > k, std::variant< Vs... > theta)
 
double logprob (double value) const
 
template<typename RNG >
double sample (RNG &rng)
 
std::string string () const
 

Public Attributes

std::gamma_distribution< double > dist
 
double k
 
double theta
 

Detailed Description

A gamma distribution parameterized by shape k and scale theta.


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