Return a Beta random variate with the supplied success and failure parameters using the given random number generator. 
alpha and beta can each be a scalar or a one-dimensional container. Any non-scalar inputs must be the same size.
- Template Parameters
 - 
  
    | T_shape1 | type of success parameter  | 
    | T_shape2 | type of failure parameter  | 
    | RNG | type of random number generator  | 
  
   
- Parameters
 - 
  
    | alpha | (Sequence of) positive finite success parameter(s)  | 
    | beta | (Sequence of) positive finite failure parameter(s)  | 
    | rng | random number generator  | 
  
   
- Returns
 - (Sequence of) beta random variate(s) 
 
- Exceptions
 - 
  
    | std::domain_error | if alpha or beta are nonpositive  | 
    | std::invalid_argument | if non-scalar arguments are of different sizes  | 
  
   
Definition at line 36 of file beta_rng.hpp.