Re: [eigen] triangular solve on the right with transpose

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


Hi Manoj,

note that we already have a block Cholesky solver in the devel branch.

To answer your question:

A = L.triangular<Lower>().solve<OnTheRight>(B);

cheers,
gael

On Tue, Jul 13, 2010 at 12:45 AM, Manoj Rajagopalan <rmanoj@xxxxxxxxx> wrote:
> Hi,
>
>  I am writing a block cholesky solver where I have to solve:
>
>    A * L^T = B
>
>  where L is lower triangular and is known, B is dense and known, and A is
> dense and unknown. All are in double-precision.
>
>    What expression would I have to use to solve for A? I could use:
>
>   A = (L.solve(B.transpose()).transpose();
>
>  But is there a more natural expression, closer to the math? I remember there
> was a discussion sometime back on how to express "solve-on-the-right" etc..
>
> thanks,
> Manoj
>
>
>



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