[SciPy-user] Matlab's orth module

Nils Wagner scipy-user@scipy.net
Fri, 19 Sep 2003 14:27:35 +0200


"Travis E. Oliphant" schrieb:
> 
> Arnd Baecker wrote:
> > Hi Nils,
> >
> > google is your friend here ("matlab orth python"):
> >   http://pdilib.sourceforge.net/MLab2.py
> >
> > Actually, it would be nice to see these integrated
> > either in scipy or in MLab itself (or numarray?)
> >
> 
> I believe all of these functions are in  scipy.linalg
> 
> In particular
> 
> info(scipy.linalg.orth)
>   orth(A)
> 
> Return an orthonormal basis for the range of A using svd
> 
> -Travis  O.
> 

I have ignored that module in linalg. However, if I use
linalg.orth I obtain an error

Traceback (most recent call last):
  File "pseudospectra.py", line 165, in ?
    V = linalg.orth(P.real)
  File "/usr/local/lib/python2.1/site-packages/scipy/linalg/decomp.py",
line 533, in orth
    tol = max(M,N)*amax(s)*eps
NameError: global name 'amax' is not defined

Any idea ?

Nils

> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user