Dear Eigen developers, to have a consistent API, wouldn't it be a good idea to provide mat.triangularView < Eigen::Diagonal > () or mat.diagonalView() to access the diagonal of a dense/sparse matrix?
Clearly not trough triangularView, but mat.diagonalView() could be a shortcut for: mat.diagonal().asDiagonal()
Ok, the shortcut would be great. What about adding a solve() and solveInPlace() functionality?
I would rather add the "inverse() *" and "* inverse()" feature to all other solvers, but that requires bug 99 first. Adding solve() is more straightforward for now.
I guess that's easy enough to be included to 3.3
I'm leaving it for newcomers, this is an excellent junior-job to learn how to add a method with proper documentation, example, and unit-test.
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/604.