0

As far as I can tell, Eigen won't compile if I try to invert a matrix that isn't square. Since the matrix I want to invert is dynamically sized, it doesn't know that both dimensions will be the same, so it won't let me compile it. Is there a way out of this?

4

1 回答 1

0

Invert is in < Eigen/LU >. I was just using < Eigen/Core >. Alternately, I think < Eigen/Dense > loads the whole library, and would have worked.

于 2013-11-09T18:53:59.403 回答