According to the Eigen documentation, the second and third template arguments, which correspond to number of rows and cols, are expected to be int
.
I am wondering why these arguments are not size_t
? The only reason to have int
there is, when eigen would allow to have negative number of rows or cols?
The only reason why this could make sense is because of Eigen::Dynamic
. Can anyone confirm that this is the reason to allow negative values for rows/cols?