[Numpy-discussion] numarray.linear_algrebra > cholesky_decomposition problem
jmiller at stsci.edu
Fri Aug 29 05:58:05 CDT 2003
It's a bug in the recent port of mlab.py. Numarray doesn't really
support spacesaver, and it doesn't fake it yet either. I removed
the spacesaver code for numarray-0.7.
On Fri, 2003-08-29 at 04:04, Justin Worrall wrote:
> I'm having problems using the cholesky decomposition function -
> perhaps someone could point out where I am going wrong. Many thanks,
> dingy /ms/user/w/worrall 22$ python
> Python 2.3 (#1, Aug 19 2003, 16:53:06)
> [GCC 2.95.2 19991024 (release)] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from numarray import *
> >>> from numarray.linear_algebra import *
> >>> x=array([[1.0,0.0],[0.5,1.0]])
> >>> x
> array([[ 1. , 0. ],
> [ 0.5, 1. ]])
> >>> cholesky_decomposition(x)
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> line 159, in cholesky_decomposition
> return copy.copy(num.transpose(mlab.triu(a,k=0)))
> File "/u/worrall/Python-2.3/numarray/linear_algebra/mlab.py", line
> 134, in triu
> svsp = m.spacesaver()
> AttributeError: 'NumArray' object has no attribute 'spacesaver'
> This is not an offer (or solicitation of an offer) to buy/sell the securities/instruments mentioned or an official confirmation. Morgan Stanley may deal as principal in or own or act as market maker for securities/instruments mentioned or may advise the issuers. This may refer to a research analyst/research report. Unless indicated, these views are the author?s and may differ from those of Morgan Stanley research or others in the Firm. We do not represent this is accurate or complete and we may not update this. Past performance is not indicative of future returns. For additional information, research reports and important disclosures, contact me or see https://secure.ms.com/servlet/cls. You should not use email to request, authorize or effect the purchase or sale of any security or instrument, to send transfer instructions, or to effect any other transactions. We cannot guarantee that any such reque
> sts received via email will be processed in a timely manner. This communication is solely for the addres
Todd Miller <jmiller at stsci.edu>
More information about the Numpy-discussion