Re: [Numpy-discussion] SCons install fails with rev 5258

2008-06-07 Thread David Cournapeau
Alan McIntyre wrote: > I just updated my NumPy tree from svn trunk, and the SCons install now > fails with the following message: > Updating to 0.7.2 should fix the problem (this is due to a change on how I handle bootstrapping numpy build: when numpy changed its bootstrapping implementation,

Re: [Numpy-discussion] array vs matrix

2008-06-07 Thread Robert Kern
On Sat, Jun 7, 2008 at 20:54, Anne Archibald <[EMAIL PROTECTED]> wrote: > For consistency, it makes a certain amount of sense to have sin(A) > compute a matrix sine, since A**n computes a matrix power. But looking > at the matrix exponential, I see that we have several implementations, > none of w

Re: [Numpy-discussion] array vs matrix

2008-06-07 Thread Anne Archibald
2008/6/7 Robert Kern <[EMAIL PROTECTED]>: > On Sat, Jun 7, 2008 at 14:37, Ondrej Certik <[EMAIL PROTECTED]> wrote: >> Hi, >> >> what is the current plan with array and matrix with regard of calculating >> >> sin(A) >> >> ? I.e. elementwise vs sin(A) = Q*sin(D)*Q^T? Is the current approach >> (eleme

Re: [Numpy-discussion] Inplace shift

2008-06-07 Thread Anne Archibald
2008/6/7 Keith Goodman <[EMAIL PROTECTED]>: > On Fri, Jun 6, 2008 at 10:46 PM, Anne Archibald > <[EMAIL PROTECTED]> wrote: >> 2008/6/6 Keith Goodman <[EMAIL PROTECTED]>: >>> I'd like to shift the columns of a 2d array one column to the right. >>> Is there a way to do that without making a copy? >>>

[Numpy-discussion] Getting specific Win32 binaries? (was: numpy, py2exe, and SSE)

2008-06-07 Thread Zachary Pincus
Hello all, I'd like to be able to grab specific Win32 binaries from the distribution -- e.g. the SSE, SSE2. or SSE3-specific files (so that I can make sure to distribute the lowest-common-denominator ones via py2exe). Is this possible with the current binary releases? Or ought I to just bu

Re: [Numpy-discussion] FAIL: Tests mask_rowcols

2008-06-07 Thread Charles R Harris
On Sat, Jun 7, 2008 at 3:46 PM, Pierre GM <[EMAIL PROTECTED]> wrote: > Folks, > Can anybody confirm that ? The tests look like they pass OK on my > machine... Yep, == FAIL: Tests mask_rowcols. --

Re: [Numpy-discussion] FAIL: Tests mask_rowcols

2008-06-07 Thread Pierre GM
Folks, Can anybody confirm that ? The tests look like they pass OK on my machine... On Saturday 07 June 2008 03:40:19 Nils Wagner wrote: > Hi all, > > I found one failure in numpy.test() with numpy > 1.2.0.dev5257 > > == > FAIL: T

Re: [Numpy-discussion] array vs matrix

2008-06-07 Thread Robert Kern
On Sat, Jun 7, 2008 at 14:37, Ondrej Certik <[EMAIL PROTECTED]> wrote: > Hi, > > what is the current plan with array and matrix with regard of calculating > > sin(A) > > ? I.e. elementwise vs sin(A) = Q*sin(D)*Q^T? Is the current approach > (elementwise for array and Q*sin(D)*Q^T for matrix) the wa

[Numpy-discussion] array vs matrix

2008-06-07 Thread Ondrej Certik
Hi, what is the current plan with array and matrix with regard of calculating sin(A) ? I.e. elementwise vs sin(A) = Q*sin(D)*Q^T? Is the current approach (elementwise for array and Q*sin(D)*Q^T for matrix) the way to go? We are solving the same problem in SymPy: http://groups.google.com/group/

Re: [Numpy-discussion] embedded arrays

2008-06-07 Thread Andreas Klöckner
On Freitag 06 Juni 2008, Thomas Hrabe wrote: > Furthermore, I sometimes get a > Segmentation fault > Illegal instruction > > and sometimes it works > > It might be a memory leak, due to the segfault and the arbitrary behavior.? Shameless plug: PyUblas [1] will take care of the nasty bits of wrappi

[Numpy-discussion] SCons install fails with rev 5258

2008-06-07 Thread Alan McIntyre
I just updated my NumPy tree from svn trunk, and the SCons install now fails with the following message: ImportError: Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python intepreter from the

Re: [Numpy-discussion] Building 64-bit numpy on OSX

2008-06-07 Thread Charles R Harris
On Sat, Jun 7, 2008 at 9:30 AM, Dan Yamins <[EMAIL PROTECTED]> wrote: > > . What I think matters is "no matching architecture in > >> > universal wrapper". Hmmm. I wonder if you and Michael have the same >> > versions of OS X? >> >> > And why is dlopen looking for a universal library? One would

Re: [Numpy-discussion] Building 64-bit numpy on OSX

2008-06-07 Thread Dan Yamins
. What I think matters is "no matching architecture in > > universal wrapper". Hmmm. I wonder if you and Michael have the same > > versions of OS X? > > > And why is dlopen looking for a universal library? One would hope that > > distutils would have taken care of that. > I think you're right

Re: [Numpy-discussion] Inplace shift

2008-06-07 Thread Keith Goodman
On Fri, Jun 6, 2008 at 10:46 PM, Anne Archibald <[EMAIL PROTECTED]> wrote: > 2008/6/6 Keith Goodman <[EMAIL PROTECTED]>: >> I'd like to shift the columns of a 2d array one column to the right. >> Is there a way to do that without making a copy? >> >> This doesn't work: >> import numpy as np >>

[Numpy-discussion] FAIL: Tests mask_rowcols

2008-06-07 Thread Nils Wagner
Hi all, I found one failure in numpy.test() with numpy 1.2.0.dev5257 == FAIL: Tests mask_rowcols. -- Traceback (most recent call last): File "/usr/local/lib