![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
      
  | 
  inline | 
Packs the square flat triangular matrix on the OpenCL device and copies it to the std::vector.
| src | the flat triangular source matrix on the OpenCL device | 
| <code>std::invalid_argument</code> | if the matrix is not triangular |