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

◆ cols() [2/2]

template<typename T , require_matrix_t< T > * = nullptr>
Eigen::Index 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 19 of file cols.hpp.