|
fmcs
v0.2.1
|
#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 Member Functions inherited from Distribution< Gamma, double > | |
| double | logprob (double value) |
| double | sample (RNG &rng) |
| std::string | string () const |
Public Attributes | |
| std::gamma_distribution< double > | dist |
| double | k |
| double | theta |
A gamma distribution parameterized by shape k and scale theta.