Re: [Numpy-discussion] What is an empty matrix ?

2007-07-04 Thread David Cournapeau
John Reid wrote: > David Cournapeau wrote: >> Hi, >> >> I was wondering what an empty matrix is, and what it is useful for >> (by empty matrix, I mean something created by numpy.matrix([])) ? Using >> those crash some functions (see for example scipy ticket #381), and I am >> not sure how to

Re: [Numpy-discussion] [SciPy-dev] numpy.cumproduct() documentation: bug?

2007-07-04 Thread Alan G Isaac
On Wed, 04 Jul 2007, dmitrey apparently wrote: > cumproduct(x, axis=None, dtype=None, out=None) > Sum the array over the given axis. Docstring bug. But it behaves right. Cheers, Alan Isaac ___ Numpy-discussion mailing list Numpy-discussion@sc

Re: [Numpy-discussion] Scipy release

2007-07-04 Thread Nils Wagner
David Cournapeau wrote: > John Reid wrote: > >> Ok I'll try that although I guess that it turns off all warnings. that >> I'm concerned as well that scipy's release cycle isn't as quick as it >> could be. >> >> > Well, quite the contrary, it is as quick as it can be. If you think it >

Re: [Numpy-discussion] What is an empty matrix ?

2007-07-04 Thread John Reid
David Cournapeau wrote: > Hi, > > I was wondering what an empty matrix is, and what it is useful for > (by empty matrix, I mean something created by numpy.matrix([])) ? Using > those crash some functions (see for example scipy ticket #381), and I am > not sure how to fix this bug. > >

Re: [Numpy-discussion] What is an empty matrix ?

2007-07-04 Thread dmitrey
As for me, I used empty matrices in MATLAB as well as python rather often. Simple example: from numpy import array, hstack #... m = A.shape[1] a = array(()).reshape(0,m) for i in some_ind: a = hstack((a, A[i])) for i in some_ind2: a = hstack((a, Aeq[i])) return a other example: from numpy imp

Re: [Numpy-discussion] Scipy release

2007-07-04 Thread John Reid
David Cournapeau wrote: > John Reid wrote: > I think most developers use subversion, indeed. It is not enforced, but > my impression is that people try pretty hard to avoid breaking the main > trunk (that is using the last subversion is not more buggy than a > release). At least, I myself try to

Re: [Numpy-discussion] What is an empty matrix ?

2007-07-04 Thread David Cournapeau
Nils Wagner wrote: > David Cournapeau wrote: >> Hi, >> >> I was wondering what an empty matrix is, and what it is useful for >> (by empty matrix, I mean something created by numpy.matrix([])) ? Using >> those crash some functions (see for example scipy ticket #381), and I am >> not sure how

Re: [Numpy-discussion] Scipy release

2007-07-04 Thread Alexandre Fayolle
On Wed, Jul 04, 2007 at 11:59:28AM +0100, John Reid wrote: > Ok I'll try that although I guess that it turns off all warnings. that It does. See the documentation of the warnings module for the full syntax and fine grained control. -- Alexandre Fayolle LOGILAB, Pa

Re: [Numpy-discussion] What is an empty matrix ?

2007-07-04 Thread Nils Wagner
David Cournapeau wrote: > Hi, > > I was wondering what an empty matrix is, and what it is useful for > (by empty matrix, I mean something created by numpy.matrix([])) ? Using > those crash some functions (see for example scipy ticket #381), and I am > not sure how to fix this bug. > > Da

[Numpy-discussion] What is an empty matrix ?

2007-07-04 Thread David Cournapeau
Hi, I was wondering what an empty matrix is, and what it is useful for (by empty matrix, I mean something created by numpy.matrix([])) ? Using those crash some functions (see for example scipy ticket #381), and I am not sure how to fix this bug. David __

Re: [Numpy-discussion] Scipy release

2007-07-04 Thread David Cournapeau
John Reid wrote: > > > Well I don't really want to get into an argument about the definition of > 'quick as it can be'. > > I'm just trying to say that when people try the latest stable versions > of 2 libraries that are closely coupled, they can be put off by warnings > that appear out of the

Re: [Numpy-discussion] Scipy release

2007-07-04 Thread John Reid
David Cournapeau wrote: > John Reid wrote: >> Ok I'll try that although I guess that it turns off all warnings. that >> I'm concerned as well that scipy's release cycle isn't as quick as it >> could be. >> > Well, quite the contrary, it is as quick as it can be. If you think it > is too slow,

Re: [Numpy-discussion] Scipy release

2007-07-04 Thread David Cournapeau
John Reid wrote: > Ok I'll try that although I guess that it turns off all warnings. that > I'm concerned as well that scipy's release cycle isn't as quick as it > could be. > Well, quite the contrary, it is as quick as it can be. If you think it is too slow, don't hesitate to help :) David

Re: [Numpy-discussion] Scipy release

2007-07-04 Thread John Reid
Ok I'll try that although I guess that it turns off all warnings. that I'm concerned as well that scipy's release cycle isn't as quick as it could be. John. Alexandre Fayolle wrote: > On Wed, Jul 04, 2007 at 11:15:58AM +0100, John Reid wrote: >> Hi, >> >> Is there going to be a scipy release an

Re: [Numpy-discussion] Scipy release

2007-07-04 Thread Alexandre Fayolle
On Wed, Jul 04, 2007 at 11:15:58AM +0100, John Reid wrote: > Hi, > > Is there going to be a scipy release anytime soon? > > I'm using numpy 1.0.3 with scipy 0.5.2 and I get these ugly warnings all > the time: > > c:\apps\python25\lib\site-packages\scipy\misc\__init__.py:25: > DeprecationWarnin

[Numpy-discussion] Scipy release

2007-07-04 Thread John Reid
Hi, Is there going to be a scipy release anytime soon? I'm using numpy 1.0.3 with scipy 0.5.2 and I get these ugly warnings all the time: c:\apps\python25\lib\site-packages\scipy\misc\__init__.py:25: DeprecationWarning: ScipyTest is now called NumpyTest; please update your code test = Scip

[Numpy-discussion] Does Numpy's covariance function numpy.cov() work for complex data?

2007-07-04 Thread Rudolph van der Merwe
Does anyone know if Numpy's covariance calculation function, cov(), which is located in /numpy/lib/function_base.py calculate the covariance matrix of complex data correctly? I.e., does it implement something like , P = cov(X) = 1/(N-1) * \Sum_i ( X[:,i] * transpose(X[:,i].conj()) ) -- Rudo