Dear Eigen developers,
to have a consistent API, wouldn't it be a good idea to provide
mat.triangularView < Eigen::Diagonal > ()
to access the diagonal of a dense/sparse matrix?
Clearly not trough triangularView, but mat.diagonalView() could be a shortcut for:
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.