Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Checks if desired dimensions match dimensions of the block.
rows | desired number of rows |
cols | desired number of columns |
std::invalid_argument | desired dimensions do not match dimensions of the block. |
Definition at line 118 of file diagonal.hpp.