[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] solve API
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Mon, 28 Jun 2010 22:43:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=+qSDxzALN612Avx6bjMtXbTViSLclwfgzFfiFFNVuRM=; b=rA0hnH4EzH30zCPU/dnDOC0HrQFrnruOZAvKAqtxWPvEegGmbCRS5S2xtDD7DLD5rr Id+vIVttfcQBzjKnCYZKYnTCnAOHulOYV0Yb0iaYKq5el7NLUku8ZRGHhsbMZIH66ES6 8p0irLwkRHf/FcOgb9BT3Dq+uxo78tBNVgFn8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=M+oUG1/JJZ2BiF+7MkpehX6TrkhsQCKwg3XWC/NH4MCncdi+8hluBo08UMvWrsISey qfZt+gpenC14/7/NGE7f7gvOh2kP+P2cDMKmDPRNf2Pkv8EE4MLHCAb3QILozzakasAC Igl3SV5ZaqKkhjP5ijO6sp5iXWuoNEvoavFhc=
On Mon, Jun 28, 2010 at 8:49 PM, FMDSPAM <fmdspam@xxxxxxxxx> wrote:
> Am 28.06.2010 20:16, schrieb Gael Guennebaud:
>>
>> ....
>> LU<> lu(A);
>>
>> x = lu.invertor() * b;
>> y = lu.invertor().adjoint() * b;
>>
>> but "invertor().adjoint()" is a bit weird.
>
> Yes. it is. Hence, just now, unused as I am, I prefer a weird name for that.
> There is anyway some thing what strikes Eigen newbies:
> "Do not read the expression w/o being aware the c++ magic under the hood!"
> But hopefully that lesson is to learn.
> So, a better philosophy will be to choose "The On And Only Right Name" :-)
agree
> --Frank
>
> P.S.
> Just to ask:
> What is about (Matlab-sytle):
>
> LU<> la(A);
> x=lu / b;
> x=lu.adjoint() / b;
> x= b / lu;
Matlab style would solve all our troubles if the character \ would be
a valid c++ operator.
Indeed, x = A / b always means x = A b^1. while Matlab syntax for "on
the left" solving is x = A \ b. too bad.
gael
>
>
>