Re: [Numpy-discussion] NumPy 1.8.0rc2 release

2013-10-16 Thread Piet van Oostrum
Charles R Harris writes: > Hi All, > > NumPy 1.8.0rc2 is up now on sourceforge. Binary builds are included, except > for Python 3.3 on > windows. Many thanks to Ralf for the binaries and to those who found and > fixed the bugs in rc1. > Please test this thoroughly, especially if you have access

[Numpy-discussion] On Topic: Faster way to implement Bernstein polys: explicit or recursion?

2013-10-16 Thread David Goldsmith
Many thanks to Daniele Nicolodi for pointing me to the Wikipedia article on Bézier curves. Said article gives two formulae for the Bézier curve of degree n: one explicit, one recursive. Using numpy.polynomial.Polynomial as the base class, and its evaluation method for the evaluation in each dimen

Re: [Numpy-discussion] OT: How are SVG data converted into curves

2013-10-16 Thread Daniele Nicolodi
On 17/10/2013 01:06, David Goldsmith wrote: > Does anyone on this list know how Scalable Vector Graphics C, S, etc. > command data are translated into curves (i.e., pixel maps) and might you > be willing to answer some questions off-list? Thanks! Hello, the format is quite clearly documented. Fo

[Numpy-discussion] OT: How are SVG data converted into curves

2013-10-16 Thread David Goldsmith
Does anyone on this list know how Scalable Vector Graphics C, S, etc. command data are translated into curves (i.e., pixel maps) and might you be willing to answer some questions off-list? Thanks! DG PS: I receive numpy-discussion in digest mode, so if you "qualify," please reply directly to my

Re: [Numpy-discussion] Using array mask swaps array axes

2013-10-16 Thread Chad Kidder
Thanks, that works. It will be nice when the original way works also. On Oct 16, 2013 10:28 AM, "Sebastian Berg" wrote: > On Wed, 2013-10-16 at 11:50 -0400, Benjamin Root wrote: > > > > > > > > On Wed, Oct 16, 2013 at 11:39 AM, Chad Kidder > > wrote: > > Just found what should be a bug

[Numpy-discussion] numpy ACML support is kind of broken

2013-10-16 Thread Thomas Unthiner
Hi there! I've been trying to get numpy to compile with ACML on and off for over a year now. When I first attempted this, I contacted this mailing list, however noone was able to help me and I lost interested without ever filing a bug report [1]. I'm assuming ACML is broken since then. Today I ha

Re: [Numpy-discussion] NumPy 1.8.0rc2 release

2013-10-16 Thread Charles R Harris
On Tue, Oct 15, 2013 at 1:06 PM, Charles R Harris wrote: > Hi David, > > > On Tue, Oct 15, 2013 at 12:46 PM, David Cournapeau wrote: > >> It looks better than rc1, thanks for the great work. I have only tested >> on rh5 for now, but building the following against numpy 1.7.1 and running >> agains

Re: [Numpy-discussion] Using array mask swaps array axes

2013-10-16 Thread Sebastian Berg
On Wed, 2013-10-16 at 11:50 -0400, Benjamin Root wrote: > > > > On Wed, Oct 16, 2013 at 11:39 AM, Chad Kidder > wrote: > Just found what should be a bug in 1.7.1. I'm running > python(x,y) on windows here: > > >>> dataMatrix[ii,:,mask].shape > (201, 23)

Re: [Numpy-discussion] Using array mask swaps array axes

2013-10-16 Thread Benjamin Root
On Wed, Oct 16, 2013 at 11:39 AM, Chad Kidder wrote: > Just found what should be a bug in 1.7.1. I'm running python(x,y) on > windows here: > > >>> dataMatrix[ii,:,mask].shape > (201, 23) > >>> dataMatrix[ii,:,:].shape > (23, 201) > >>> dataMatrix.shape > (24, 23, 201) > >>> mask > array([ True,

[Numpy-discussion] Using array mask swaps array axes

2013-10-16 Thread Chad Kidder
Just found what should be a bug in 1.7.1. I'm running python(x,y) on windows here: >>> dataMatrix[ii,:,mask].shape (201, 23) >>> dataMatrix[ii,:,:].shape (23, 201) >>> dataMatrix.shape (24, 23, 201) >>> mask array([ True, True, True, True, True, True, True, True, True, ...