Registered Member
|
How can the GDB pretty printer file (printers.py) provided by Eigen be adapted to also print views of a matrix or vector? For example,
where
I can achieve this manually by casting the submatrix to, say, MatrixXd:
However, I would prefer achieving this automatically by adapting the file printers.py so that IDEs (e.g., Eclipse) can show the submatrix entries when hovering with the mouse. I am only interested in dynamic matrices, MatrixXd, so I would not mind to use a hack, ad-hoc solution. |
Registered Member
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]