Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Check if x
is consistent with size expected_size
.
x
is consistent with size expected_size
if x
is a vector of size expected_size
, or a non vector.
T | type of value |
function | function name (for error messages) |
name | variable name (for error messages) |
x | variable to check for consistent size |
expected_size | expected size if x is a vector |
`invalid_argument` | if the size is inconsistent |
Definition at line 25 of file check_consistent_size.hpp.