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

◆ cols() [2/2]

template<typename T , require_matrix_t< T > * = nullptr>
int64_t stan::math::cols ( const T &  m)
inline

Return the number of columns in the specified matrix, vector, or row vector.

Template Parameters
Ttype of the matrix
Parameters
[in]mInput matrix, vector, or row vector.
Returns
Number of columns.

Definition at line 20 of file cols.hpp.