Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Check if the provided sizes match.
T_size1 | Type of size 1 |
T_size2 | Type of size 2 |
function | Function name (for error messages) |
expr_i | Expression for variable name 1 (for error messages) |
name_i | Variable name 1 (for error messages) |
i | Variable size 1 |
expr_j | Expression for variable name 2 (for error messages) |
name_j | Variable name 2 (for error messages) |
j | Variable size 2 |
<code>std::invalid_argument</code> | if the sizes do not match |
Definition at line 50 of file check_size_match.hpp.