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

◆ cols() [1/2]

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

Returns the number of columns in the specified kernel generator expression.

Template Parameters
T_xtype of input kernel generator expression x
Parameters
xinput kernel generator expression.
Returns
number of columns in x

Definition at line 21 of file cols.hpp.