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

◆ dims() [1/6]

template<typename T_x , require_nonscalar_prim_or_rev_kernel_expression_t< T_x > * = nullptr>
void stan::math::dims ( const T_x &  x,
std::vector< int > &  result 
)
inline

matrix_cl overload of the dims helper function in prim/fun/dims.hpp.

Pushes the rows and columns to the result vector argument.

Template Parameters
T_xtype of input kernel generator expression a
Parameters
[in]xthe input matrix_cl
[out]resultthe output vector of dimensions

Definition at line 21 of file dims.hpp.