Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Check if size
is positive.
function | Function name (for error messages) |
name | Variable name (for error messages) |
expr | Expression for the dimension size (for error messages) |
size | Size value to check |
<code>std::invalid_argument</code> | if size is zero or negative. |
Definition at line 42 of file check_positive.hpp.