Automatic Differentiation
 
Loading...
Searching...
No Matches
beta_neg_binomial_rng.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename T_r , typename T_alpha , typename T_beta , typename RNG >
auto stan::math::beta_neg_binomial_rng (const T_r &r, const T_alpha &alpha, const T_beta &beta, RNG &rng)
 Return a beta-negative binomial random variate with the given number of successes, prior success, and prior failure parameters, using the given random number generator.