Re: [eigen] news on the refactoring of the expression template mechanism

[ Thread Index | Date Index | More Archives ]

On Sat, Apr 12, 2014 at 2:56 PM, Jitse Niesen <jitseniesen@xxxxxxxxx> wrote:

What to do with TriangularView::solve<OnTheRight>(lhs)?

We want to deprecate this API and use lhs * tri.inverse().

So TriangularView::solve<OnTheRight> could return a
Product<Lhs,Inverse<TriangularView>> instead of a Solve<> _expression_ for
the "OnTheLeft" case.

I feel a bit uncomfortable telling people to write inverse to solve because I (and others) teach people not to use inverse. Of course I know (or at least hope!) that Eigen does not actually compute the inverse but that may be a subtlety lost on some.

On the other hand, solve on the right is not a very clear terminology; I still do not know immediately what's on the left and what's on the right.

yes, I also teach about never computing the inverse of a matrix, even though on the whiteboard we very often write ^-1. There is also this debate about inverse() versus pseudoInverse()..
Clarify StorageKind versus XprShape

I am a bit lost here with the terminology. My understanding is the following:

Mail converted by MHonArc 2.6.19+