Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Sets the dimensions of the underlying expressions if possible.
If not checks whether they have correct dimensions.
rows | desired number of rows |
cols | desired number of columns |
std::invalid_argument | desired dimensions do not match with dimensions of underlying expression that can not be resized. |
Definition at line 121 of file transpose.hpp.