![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
      
  | 
  inline | 
Creates a matrix_cl representing an array by replicating the input value.
| T | type of the input | 
| x | the input value | 
| n | number of elements in the result array | 
| <code>domain_error</code> | if the requested dimensions are negative | 
Definition at line 32 of file rep_array.hpp.