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

◆ to_array_2d() [1/2]

template<typename T_x , require_nonscalar_prim_or_rev_kernel_expression_t< T_x > * = nullptr>
T_x stan::math::to_array_2d ( T_x &&  x)
inline

Returns input matrix converted into a nested std vector.

With matrix_cl that is the same type.

Template Parameters
T_xtype of the matrix
Parameters
xmatrix
Returns
the vector representation of the input

Definition at line 21 of file to_array_2d.hpp.