Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Return true
if the two matrices are of the same size.
This function checks the runtime sizes and can also check the static sizes as well. For example, a 4x1 matrix is not the same as a vector with 4 elements.
check_compile | Whether to check the static sizes |
EigMat1 | A type derived from EigenBase |
EigMat2 | A type derived from EigenBase |
y1 | first matrix to test |
y2 | second matrix to test |
true
if the dimensions of the matrices match Definition at line 41 of file is_matching_dims.hpp.