[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using LAPACK in octave
From: |
John W. Eaton |
Subject: |
Re: Using LAPACK in octave |
Date: |
Wed, 26 Sep 2007 14:22:31 -0500 |
On 25-Sep-2007, David Bateman wrote:
| In fact xGELS, xGELSY, xGELSD and xGELSS all return the same minimum
| norm solutions. There is therefore no reason not to change to xGELSS..
| Consider the attached patch, before this addition I had the following
|
| octave:1> A = rand(500,499); t = cputime(); b = A \ ones(500,1);
| cputime() - t
| ans = 3.1035
|
| and after the patch I get
|
| A = rand(500,499); t = cputime(); b = A \ ones(500,1); cputime() - t
| ans = 0.23296
|
| with ATLAS 3.6.0 installed. As for the accuracy, both versions returned.
|
| octave:2> norm(A*b)
| ans = 22.361
Please check in this change.
| One thing that might be done in addition is to remove the non longer
| needed xGELSS code from LAPACK, however care needs to be taken to not
| remove a dependency of another function used in Octave, so I decided not
| to do that..
I think this can wait.
Thanks,
jwe
- Using LAPACK in octave, Jean-Baptiste Poullet, 2007/09/11
- Re: Using LAPACK in octave, Quentin Spencer, 2007/09/11
- Re: Using LAPACK in octave, David Bateman, 2007/09/11
- Re: Using LAPACK in octave, David Bateman, 2007/09/11
- Re: Using LAPACK in octave, John W. Eaton, 2007/09/11
- Re: Using LAPACK in octave, David Bateman, 2007/09/11
- Equivalent of LSQR in matlab, Jean-Baptiste Poullet, 2007/09/13
- Re: Equivalent of LSQR in matlab, Jordi GutiƩrrez Hermoso, 2007/09/13
- Re: Equivalent of LSQR in matlab, John W. Eaton, 2007/09/13
- Re: Using LAPACK in octave, David Bateman, 2007/09/25
- Re: Using LAPACK in octave,
John W. Eaton <=
- Re: Using LAPACK in octave, David Bateman, 2007/09/26
Message not available