Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe03.iad.POSTED!7564ea0f!not-for-mail
From: Walter Roberson <roberson@hushmail.com>
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: lu() returns permutations of the rows of L?
References: <gb92pc$lhl$1@fred.mathworks.com>
In-Reply-To: <gb92pc$lhl$1@fred.mathworks.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 7
Message-ID: <1nUBk.29021$rV4.24735@newsfe03.iad>
NNTP-Posting-Host: 24.79.146.116
X-Complaints-To: internet.abuse@sjrb.ca
X-Trace: newsfe03.iad 1222119997 24.79.146.116 (Mon, 22 Sep 2008 21:46:37 UTC)
NNTP-Posting-Date: Mon, 22 Sep 2008 21:46:37 UTC
Date: Mon, 22 Sep 2008 16:47:15 -0500
Xref: news.mathworks.com comp.soft-sys.matlab:491404


David Doria wrote:
> Is there any way to have lu(A) give the actual lower triangular matrix L back?
> It seems silly to me to have to rearrange it?

Why not just use the three-output or four-output versions of lu() ?
The two-output version of lu() is the only one that returns
the permuted lower triangular matrix.