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

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen <eigen@xxxxxxxxxxxxxxxxxxx>*Subject*: Re: [eigen] news on the refactoring of the expression template mechanism*From*: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>*Date*: Sun, 13 Apr 2014 11:44:47 +0200*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Qh6O53Jku/XyrhOhQQAAcDzFb8fu9vSguvhexHjsC64=; b=qz13TbZzvK2lV0MtMB+ldcENTPU/qEdxeQNKmmOdTfwwA/y4qQ70QXch4JEGWYvjO5 OVPnjQeBDJTZZAmser+Cw3shUiP0cKUF+Pfb8S+21Gq+QRGxdSvDT0AMlomtNyRMJZgC 8VYf0Gdz36rY2PxUWVB9VnvmZi4mN6J9bU6v+viKKESuTuYlmw7tHItUGP8zcIPsxKvb eC+jBtP3fUoSI4MOUhA8V2ZBo2L11so9KMIQKSijK5L5QQMlSQZZBAxqynoGnzIvLfzT iMwkFo/J1RvQOS0zaXNCzTTJh3SitenoIhy/dd7dh806X12lv9ofCno/fAT6mh2oeaQX /7Lg==

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:

References:

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

From:Jitse NiesenRe: [eigen] news on the refactoring of the expression template mechanism

From:Jitse Niesen

Messages sorted by:[ date | thread ]- Prev by Date:
Re: [eigen] news on the refactoring of the expression template mechanism- Next by Date:
Re: [eigen] news on the refactoring of the expression template mechanism- Previous by thread:
Re: [eigen] news on the refactoring of the expression template mechanism- Next by thread:
Re: [eigen] news on the refactoring of the expression template mechanism

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/