Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ packed_copy() [1/2]

template<typename T , require_matrix_cl_t< T > * = nullptr>
auto stan::math::packed_copy ( const T &  src)
inline

Packs the square flat triangular matrix on the OpenCL device and copies it to the std::vector.

Parameters
srcthe flat triangular source matrix on the OpenCL device
Returns
the packed std::vector
Exceptions
<code>std::invalid_argument</code>if the matrix is not triangular

Definition at line 249 of file copy.hpp.