Re: [Numpy-discussion] Should array_equal work with non-numeric types?

2007-03-02 Thread Pierre GM
On Friday 02 March 2007 16:10:53 Christopher Barker wrote: > Hi all, > > Should array_equal work with non-numeric types? I'm all for that. I was regularly running into that problem when comparing object arrays or chararrays, that's why I modified assert_equal in the "maskedarray" version of test

Re: [Numpy-discussion] [SciPy-user] NumPy in Teaching

2007-03-02 Thread Bill Baxter
On 3/2/07, Andrew Straw <[EMAIL PROTECTED]> wrote: > Perry Greenfield wrote: > > On Feb 28, 2007, at 7:32 PM, Joe Harrington wrote: > > > > > > > > > I believe the reference is to this: http://scipy.org/NumPy_for_Matlab_Users That page also has this link at the bottom: http://37mm.no/matlab-python

[Numpy-discussion] Should array_equal work with non-numeric types?

2007-03-02 Thread Christopher Barker
Hi all, Should array_equal work with non-numeric types? >>> a array(['a', 'b', 'c', 'd', 'e', 'f', 'g'], dtype='|S1') >>> b = a.copy() >>> a == b array([True, True, True, True, True, True, True], dtype=bool) >>> numpy.array_equal(a,b) Traceback (most recent call last): File "", line

Re: [Numpy-discussion] Unifying numpy, scipy, and matplotlib docstring formats

2007-03-02 Thread Alan Isaac
David Huard wrote: > I don't know how far we can disgress from the reST syntax using > those plugins, but it's probably something worth looking at. Digression => maintenance burden. Cheers, Alan Isaac ___ Numpy-discussion mailing list Numpy-discussi

Re: [Numpy-discussion] Unifying numpy, scipy, and matplotlib docstring formats

2007-03-02 Thread David Huard
To get back to the original subject of the thread, there has been a commit today on the docutils plugins branch that allows folks to write their own parser/writer and somehow include it in docutils, without having to rebuild docutils. In other words, NumPy could define a plugin, and if docutils is

Re: [Numpy-discussion] when and where to use numpy arrays vs nested lists

2007-03-02 Thread Mark P. Miller
> > I won't comment on the code itself. Appreciate it :). Again, I'm just pointing out an example! I would guess that I'm not the only person using numpy in this sort of unsophisticated manner! Tell us what you want to do and I > bet we can speed it up. > > Chuck I'll probably do that in

Re: [Numpy-discussion] [ANN] PyTables 2.0 alpha2

2007-03-02 Thread Ivan Vilata i Balaguer
Hi everybody once again, We have done a new micro-release of the second alpha of PyTables 2.0, PyTables 2.0a2a. This fixes a missing import (thanks to Antonio Valentino and Steven H. Rogers for the information) and missing images in the HTML version of the manual in the 2.0a2 version released yes