[SciPy-dev] ValueError: frames are not aligned

Travis N. Vaught travis at enthought.com
Sat Nov 2 19:39:54 CST 2002


All,

I just 'kicked' the nightly build, so the updates should now be in the win32
binary download.

Travis

> -----Original Message-----
> From: scipy-dev-admin at scipy.net [mailto:scipy-dev-admin at scipy.net]On
> Behalf Of Pearu Peterson
> Sent: Saturday, November 02, 2002 6:32 PM
> To: scipy-dev at scipy.net
> Subject: Re: [SciPy-dev] ValueError: frames are not aligned
>
>
>
>
> On Sat, 2 Nov 2002, Nils Wagner wrote:
>
> > Hi,
> >
> > I tried to compute the pseudo-inverse of a random matrix...
> >
> > >>> scipy.__version__
> > '0.2.0_alpha_145.4411'
> >
> > >>> from scipy import *
> > >>> a = rand(5,3)
> > >>> a
> > array([[ 0.81884205,  0.3865217 ,  0.9218021 ],
> >        [ 0.99365133,  0.36057177,  0.64316332],
> >        [ 0.00589046,  0.56506401,  0.97917145],
> >        [ 0.43969154,  0.44840959,  0.26978564],
> >        [ 0.11854674,  0.56671292,  0.8699165 ]])
> > >>> ap = linalg.pinv2(a)
> > Traceback (most recent call last):
> >   File "<stdin>", line 1, in ?
> >   File
> "/usr/lib/python2.2/site-packages/scipy/linalg/basic.py", line
> 327, in pi                                      nv2
> >     return dot(tran(conj(vh)),tran(conj(u))*s[:,NewAxis])
> > ValueError: frames are not aligned
> >
> > What is the reason for that ?
>
> It is now fixed in SciPy CVS.
>
> Pearu
>
> _______________________________________________
> Scipy-dev mailing list
> Scipy-dev at scipy.net
> http://www.scipy.net/mailman/listinfo/scipy-dev
>




More information about the Scipy-dev mailing list