Re: [Numpy-discussion] float32 to float64 casting

2012-11-15 Thread Charles R Harris
On Thu, Nov 15, 2012 at 11:37 PM, Charles R Harris < charlesr.har...@gmail.com> wrote: > > > On Thu, Nov 15, 2012 at 8:24 PM, Gökhan Sever wrote: > >> Hello, >> >> Could someone briefly explain why are these two operations are casting my >> float32 arrays to float64? >> >> I1 (np.arange(5, dtype='

Re: [Numpy-discussion] float32 to float64 casting

2012-11-15 Thread Charles R Harris
On Thu, Nov 15, 2012 at 8:24 PM, Gökhan Sever wrote: > Hello, > > Could someone briefly explain why are these two operations are casting my > float32 arrays to float64? > > I1 (np.arange(5, dtype='float32')).dtype > O1 dtype('float32') > > I2 (10*np.arange(5, dtype='float32')).dtype > O2 dtyp

[Numpy-discussion] float32 to float64 casting

2012-11-15 Thread Gökhan Sever
Hello, Could someone briefly explain why are these two operations are casting my float32 arrays to float64? I1 (np.arange(5, dtype='float32')).dtype O1 dtype('float32') I2 (10*np.arange(5, dtype='float32')).dtype O2 dtype('float64') I3 (np.arange(5, dtype='float32')[0]).dtype O3 dtype('fl

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-15 Thread Christoph Gohlke
On 11/15/2012 6:24 AM, Peter Cock wrote: > On Wed, Nov 14, 2012 at 7:35 PM, Christoph Gohlke wrote: >>> ... >>> RuntimeError: Broken toolchain: cannot link a simple C program >>> >>> It appears a similar issue was raised before: >>> http://mail.scipy.org/pipermail/numpy-discussion/2012-June/062866

[Numpy-discussion] Numpydoc warnings for methods

2012-11-15 Thread Jose Miguel Ibáñez
Hello, Now, I am having the same problem, and although I have tried the Pauili fix (see below) I still have the same problem when using numpydoc extension. Does anyone have more information or suggestions about it ? Thanks, Jose On Sun, Jul 17, 2011 at 7:15 PM, Tony Yu http://mail.scipy.org/m

Re: [Numpy-discussion] numpy.power vs pylab.power

2012-11-15 Thread Robert Kern
On Thu, Nov 15, 2012 at 4:02 PM, Will Furnass wrote: > On my machine these are rather confusingly different functions, with the > latter corresponding to numpy.random.power. I appreciate that pylab > imports everything from both the numpy and numpy.random modules but > wouldn't it make sense if p

[Numpy-discussion] numpy.power vs pylab.power

2012-11-15 Thread Will Furnass
On my machine these are rather confusingly different functions, with the latter corresponding to numpy.random.power. I appreciate that pylab imports everything from both the numpy and numpy.random modules but wouldn't it make sense if pylab.power were the frequently used power function rather

Re: [Numpy-discussion] Compiling NumPy on Windows for Python 3.3 with MSVC 2010

2012-11-15 Thread Peter Cock
On Wed, Nov 14, 2012 at 7:35 PM, Christoph Gohlke wrote: >> ... >> RuntimeError: Broken toolchain: cannot link a simple C program >> >> It appears a similar issue was raised before: >> http://mail.scipy.org/pipermail/numpy-discussion/2012-June/062866.html >> >> Any tips? >> >> Peter > > Try changi