Re: Sci.linalg.lu permuation error

2007-05-29 Thread [EMAIL PROTECTED]
Hi Luke, you should send this to the scipy user list: [EMAIL PROTECTED] Bernhard On May 28, 10:44 am, Luke <[EMAIL PROTECTED]> wrote: > I'm trying to use Scipy's LU factorization. Here is what I've got: > > from numpy import * > import scipy as Sci > import scipy.linalg > > A=array([[3., -2.,

Sci.linalg.lu permuation error

2007-05-28 Thread Luke
I'm trying to use Scipy's LU factorization. Here is what I've got: from numpy import * import scipy as Sci import scipy.linalg A=array([[3., -2., 1., 0., 0.],[-1., 1., 0., 1., 0.],[4., 1., 0., 0., 1.]]) p,l,u=Sci.linalg.lu(A,permute_l = 0) now, according to the documentation: **