1 year ago
#364110
stewpend0us
test if a MatrixBase is a fixed size or dynamic in Eigen3
Hopefully this is an easy one and I'm just failing at google today....but.
Given
MatrixBase<double> &mat
is there a way to test if mat is fixed or dynamic size?
I don't think this will work:
mat.rows() == Dynamic
I was hoping for something like:
mat.dynamic_rows (true or false)
mat.dynamic_cols (true or false)
c++
eigen3
0 Answers
Your Answer