[SciPy-user] Matlab's orth module
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Fri Sep 19 08:53:08 EDT 2003
"Travis E. Oliphant" schrieb:
>
> >
> > 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
>
> This error happens quite a bit during development (the name amax has not
> been moved into decomp.py).
>
> This is now fixed in CVS, but you can fix it by pre-pending scipy_base.
> to amax and sum in the orth subroutine.
>
> -Travis
>
> _____
Travis,
Thank you very much for the fix. BTW,
Is linalg.lu ready to apply to complex matrices ?
Nils
__________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-user
More information about the SciPy-User
mailing list