template<typename T_deg , typename T_loc , typename T_scale , class RNG > 
  
  
      
        
          | VectorBuilder< true, double, T_deg, T_loc, T_scale >::type stan::math::student_t_rng  | 
          ( | 
          const T_deg &  | 
          nu,  | 
         
        
           | 
           | 
          const T_loc &  | 
          mu,  | 
         
        
           | 
           | 
          const T_scale &  | 
          sigma,  | 
         
        
           | 
           | 
          RNG &  | 
          rng  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Return a student-t random variate for the given degrees of freedom, location, and scale using the specified random number generator. 
nu, mu, and sigma can each be a scalar or a one-dimensional container. Any non-scalar inputs must be the same size.
- Template Parameters
 - 
  
    | T_deg | type of degrees of freedom parameter  | 
    | T_loc | type of location parameter  | 
    | T_scale | type of scale parameter  | 
    | RNG | type of random number generator | 
  
   
- Parameters
 - 
  
    | nu | (Sequence of) degrees of freedom parameter(s)  | 
    | mu | (Sequence of) location parameter(s)  | 
    | sigma | (Sequence of) scale parameter(s)  | 
    | rng | random number generator  | 
  
   
- Returns
 - Student-t random variate 
 
- Exceptions
 - 
  
    | std::domain_error | if nu is nonpositive, mu is infinite, or sigma is nonpositive  | 
    | std::invalid_argument | if non-scalar arguments are of different sizes  | 
  
   
Definition at line 38 of file student_t_rng.hpp.