![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Return true if two structures are the same size.
This is a top-level sizing function for std::vector where a 2x3 vector returns 2, and a total sizing function for Eigen::Matrix where a 2x3 matrix will return 6.
| T_y1 | Type of the first variable, requires class method .size() |
| T_y2 | Type of the second variable, requires class method .size() |
| y1 | First variable |
| y2 | Second variable |
true if the variable sizes match Definition at line 24 of file is_matching_size.hpp.