Loading [MathJax]/extensions/TeX/AMSsymbols.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ check_assign_dimensions()

template<typename T >
void stan::math::block_< T >::check_assign_dimensions ( int  rows,
int  cols 
) const
inline

Checks if desired dimensions match dimensions of the block.

Parameters
rowsdesired number of rows
colsdesired number of columns
Exceptions
std::invalid_argumentdesired dimensions do not match dimensions of the block.

Definition at line 309 of file block_zero_based.hpp.