Stan Math Library
4.9.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) |
name_i | Variable name 1 (for error messages) |
i | Variable size 1 |
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 24 of file check_size_match.hpp.