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

◆ dims() [6/6]

template<typename T >
void stan::math::dims ( const vari_value< T > &  x,
std::vector< int > &  result 
)
inline

Pushes dimensions of given argument into given result vector.

For vari_value containing Eigen type those are the numbers of rows and columns.

Parameters
xargument
resultresult

Definition at line 34 of file dims.hpp.