Re: [Numpy-discussion] repr of bool matrix

2006-12-22 Thread Travis Oliphant
Keith Goodman wrote: > Bool matrices and arrays don't line up when you display them because > False has 5 letters and True has 4. > > After several columns it can become impossible to tell which column an > element belongs to. > > Could the repr of bool matrices print 'True ' instead of 'True'? >

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-22 Thread Robert Kern
Travis Oliphant wrote: > I'm always confused about how to distribute something like SciPy for the > MAC. What exactly should be distributed? Is it possible to use > distutils to get it done? To get a package format that is actually useful (bdist_dumb just doesn't cut it on any platform, real

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-22 Thread Travis Oliphant
Sven Schreiber wrote: > Robert Kern schrieb: > >> Pierre GM wrote: >> > So, to put it "pointedly" (if that's the right word...?): > Numpy should not get small functions from scipy -> because the size of > scipy doesn't matter -> because scipy's modules will be installable as > add-ons separ

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-22 Thread Travis Oliphant
Christopher Barker wrote: > It can be a pain to build this kind of thing on OS-X, as Apple has not > supported a Fortran compiler yet, but it can (and has) been done. IN > fact, the Mac is a great target for pre-built binaries as there is only > a small variety of hardware to support, and Apple

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-22 Thread Alan G Isaac
> Alan G Isaac wrote: >> Strip it down like you suggest and aside from Windows >> users (and Macs are increasingly popular among my >> students) you'll have only the few that are not >> intimidated by building SciPy (which still has no >> intaller for Python 2.5). On Fri, 22 Dec 2006, Robert

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-22 Thread Robert Kern
Alan G Isaac wrote: > PS A question: is it a good thing if more students start > using NumPy *now*? It looks to me like building community > size is an important current goal for NumPy. Strip it down > like you suggest and aside from Windows users (and Macs are > increasingly popular among m

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-22 Thread Robert Kern
Sven Schreiber wrote: > So, to put it "pointedly" (if that's the right word...?): > Numpy should not get small functions from scipy -> because the size of > scipy doesn't matter -> because scipy's modules will be installable as > add-ons separately (and because there will be ready-to-use installers

Re: [Numpy-discussion] slow numpy.clip ?

2006-12-22 Thread Robert Kern
Charles R Harris wrote: > I've been thinking about that a bit. One solution is to have a small > python program that takes all the pieces and writes one big build file, > I think something like that happens now. Another might be to use > includes in a base file; there is nothing sacred about no

[Numpy-discussion] repr of bool matrix

2006-12-22 Thread Keith Goodman
Bool matrices and arrays don't line up when you display them because False has 5 letters and True has 4. After several columns it can become impossible to tell which column an element belongs to. Could the repr of bool matrices print 'True ' instead of 'True'? Some truths are more true than othe

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-22 Thread Christopher Barker
Sven Schreiber wrote: > So, to put it "pointedly" (if that's the right word...?): > Numpy should not get small functions from scipy -> because the size of > scipy doesn't matter -> because scipy's modules will be installable as > add-ons separately (and because there will be ready-to-use installers

Re: [Numpy-discussion] Type of 1st argument in Numexpr where()

2006-12-22 Thread Ivan Vilata i Balaguer
Tim Hochberg (el 2006-12-20 a les 14:29:57 -0700) va dir:: > Let's look at simpler than where, which is a confusing function. How > about *sin*. > [...] Ok, I think I already get the idea about the need of adding extra opcodes if ``where()`` only accepted booleans as first arguments. Thanks for

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-22 Thread Gael Varoquaux
On Fri, Dec 22, 2006 at 10:47:33AM +0100, Sven Schreiber wrote: > Please don't feel offended, I just want to make the point (as usual) > that this way numpy is going to be a good library for other software > projects, but not super-attractive for direct users (aka "matlab > converts", although I pe

Re: [Numpy-discussion] Newbie Question, Probability

2006-12-22 Thread Sven Schreiber
Robert Kern schrieb: > Pierre GM wrote: >> Talking about that, what happened to these projects of modular installation >> of scipy ? Robert promised us last month to explain what went wrong with his >> approach, but never had the time... > > I created a module (scipy_subpackages.py, IIRC) next