Hi
thanks for the tips. Unfortunately this is not what I am after.
? import numpy as num
? startarray = random((1000,100))
? take_sample = [1,2,5,6,1,2]
? temp = num.take(startarray,take_sample,axis=1)
Would it help to make temp a 1000x4 array instead of 1000x6? Could you
do that by
In numpy/linalg/linalg.py, the function det(a) does a fastCopyAndTranspose of a
before calling lapack. Is that necessary as det(a.T) = det(a)?
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
On Tue, Dec 29, 2009 at 11:20 PM, David Cournapeau courn...@gmail.com wrote:
On Wed, Dec 30, 2009 at 3:36 AM, René Dudfield ren...@gmail.com wrote:
On Tue, Dec 29, 2009 at 2:34 PM, David Cournapeau courn...@gmail.com wrote:
On Tue, Dec 29, 2009 at 10:27 PM, René Dudfield ren...@gmail.com wrote:
hello again,
On Tue, Dec 29, 2009 at 2:22 PM, David Cournapeau courn...@gmail.com wrote:
On Tue, Dec 29, 2009 at 10:27 PM, René Dudfield ren...@gmail.com wrote:
Hi,
In the toydist proposal/release notes, I would address 'what does
toydist do better' more explicitly.
A big problem
On Wednesday 30 December 2009 06:15:45 René Dudfield wrote:
I agree with many things in that post. Except your conclusion on
multiple versions of packages in isolation. Package isolation is like
processes, and package sharing is like threads - and threads are evil!
You have stated this
On Wed, Dec 30, 2009 at 9:26 AM, Ravi lists_r...@lavabit.com wrote:
On Wednesday 30 December 2009 06:15:45 René Dudfield wrote:
I agree with many things in that post. Except your conclusion on
multiple versions of packages in isolation. Package isolation is like
processes, and package
On Wed, Dec 30, 2009 at 8:15 PM, René Dudfield ren...@gmail.com wrote:
Sitting down with Tarek(who is one of the current distutils
maintainers) in Berlin we had a little discussion about packaging over
pizza and beer... and he was quite mindful of OS packagers problems
and issues.
This has
On Wed, Dec 30, 2009 at 11:26 PM, Darren Dale dsdal...@gmail.com wrote:
Hi David,
On Mon, Dec 28, 2009 at 9:03 AM, David Cournapeau courn...@gmail.com wrote:
Executable: grin
module: grin
function: grin_main
Executable: grind
module: grin
function: grind_main
Have you
On Wed, Dec 30, 2009 at 11:26 PM, Darren Dale dsdal...@gmail.com wrote:
Hi David,
On Mon, Dec 28, 2009 at 9:03 AM, David Cournapeau courn...@gmail.com wrote:
Executable: grin
module: grin
function: grin_main
Executable: grind
module: grin
function: grind_main
Have you
On Wed, Dec 30, 2009 at 12:19 PM, Keith Goodman kwgood...@gmail.com wrote:
On Wed, Dec 30, 2009 at 12:08 AM, Eric Emsellem eemse...@eso.org wrote:
Hi
thanks for the tips. Unfortunately this is not what I am after.
? import numpy as num
? startarray = random((1000,100))
? take_sample =
On Tue, Dec 29, 2009 at 4:35 PM, Matthew Brett matthew.br...@gmail.comwrote:
Hi,
I was surprised by this - should I have been?
In [35]: e = np.array(['a'])
In [36]: e.shape
Out[36]: (1,)
In [37]: e.size
Out[37]: 1
In [38]: e.tostring()
Out[38]: 'a'
In [39]: f = np.array(['a'])
On Wed, Dec 30, 2009 at 2:26 PM, Ravi lists_r...@lavabit.com wrote:
On Wednesday 30 December 2009 06:15:45 René Dudfield wrote:
I agree with many things in that post. Except your conclusion on
multiple versions of packages in isolation. Package isolation is like
processes, and package
René Dudfield wrote:
On Wed, Dec 30, 2009 at 2:26 PM, Ravi lists_r...@lavabit.com wrote:
On Wednesday 30 December 2009 06:15:45 René Dudfield wrote:
I agree with many things in that post. Except your conclusion on
multiple versions of packages in isolation. Package isolation is like
Hi.
It isn't empty:
In [3]: array(['\x00']).dtype
Out[3]: dtype('|S1')
In [4]: array(['\x00']).tostring()
Out[4]: '\x00'
In [5]: array(['\x00'])[0]
Out[5]: ''
No, but my problem was that an empty string is not empty either, and
that you can't therefore distinguish between an empty
On Wed, Dec 30, 2009 at 1:47 PM, René Dudfield ren...@gmail.com wrote:
On Wed, Dec 30, 2009 at 2:26 PM, Ravi lists_r...@lavabit.com wrote:
On Wednesday 30 December 2009 06:15:45 René Dudfield wrote:
I agree with many things in that post. Except your conclusion on
multiple versions of
On Wed, Dec 30, 2009 at 12:47, René Dudfield ren...@gmail.com wrote:
On Wed, Dec 30, 2009 at 2:26 PM, Ravi lists_r...@lavabit.com wrote:
On Wednesday 30 December 2009 06:15:45 René Dudfield wrote:
I agree with many things in that post. Except your conclusion on
multiple versions of packages
On Wed, Dec 30, 2009 at 7:08 PM, Robert Kern robert.k...@gmail.com wrote:
On Wed, Dec 30, 2009 at 12:47, René Dudfield ren...@gmail.com wrote:
On Wed, Dec 30, 2009 at 2:26 PM, Ravi lists_r...@lavabit.com wrote:
On Wednesday 30 December 2009 06:15:45 René Dudfield wrote:
I agree with many
On Wed, Dec 30, 2009 at 11:10 AM, René Dudfield ren...@gmail.com wrote:
On Wed, Dec 30, 2009 at 7:08 PM, Robert Kern robert.k...@gmail.com wrote:
On Wed, Dec 30, 2009 at 12:47, René Dudfield ren...@gmail.com wrote:
On Wed, Dec 30, 2009 at 2:26 PM, Ravi lists_r...@lavabit.com wrote:
On
On Wed, Dec 30, 2009 at 11:13 AM, Keith Goodman kwgood...@gmail.com wrote:
On Wed, Dec 30, 2009 at 11:10 AM, René Dudfield ren...@gmail.com wrote:
On Wed, Dec 30, 2009 at 7:08 PM, Robert Kern robert.k...@gmail.com wrote:
On Wed, Dec 30, 2009 at 12:47, René Dudfield ren...@gmail.com wrote:
On
On Wed, Dec 30, 2009 at 13:10, René Dudfield ren...@gmail.com wrote:
On Wed, Dec 30, 2009 at 7:08 PM, Robert Kern robert.k...@gmail.com wrote:
On Wed, Dec 30, 2009 at 12:47, René Dudfield ren...@gmail.com wrote:
500+ packages on pypi. Provide a counter point, otherwise the
evidence is
On Wed, Dec 30, 2009 at 12:00 PM, Matthew Brett matthew.br...@gmail.comwrote:
Hi.
It isn't empty:
In [3]: array(['\x00']).dtype
Out[3]: dtype('|S1')
In [4]: array(['\x00']).tostring()
Out[4]: '\x00'
In [5]: array(['\x00'])[0]
Out[5]: ''
No, but my problem was that an empty
On Wed, Dec 30, 2009 at 11:16 AM, David Cournapeau courn...@gmail.com wrote:
On Wed, Dec 30, 2009 at 11:26 PM, Darren Dale dsdal...@gmail.com wrote:
Hi David,
On Mon, Dec 28, 2009 at 9:03 AM, David Cournapeau courn...@gmail.com wrote:
Executable: grin
module: grin
function: grin_main
Thanks!
will try that and see how the performance varies depending on the size
of my arrays.
thanks again!
Eric
Constructing big intermediate arrays, might not improve performance
compared to a loop
np.arange(30).reshape(6,5)
array([[ 0, 1, 2, 3, 4],
[ 5, 6, 7, 8, 9],
paul wrote:
In numpy/linalg/linalg.py, the function det(a) does a fastCopyAndTranspose of
a
before calling lapack. Is that necessary as det(a.T) = det(a)?
If you look further down in the function (or read the docstring), you'll
see that det(a) computes the determinant by first
On Thu, Dec 31, 2009 at 3:47 AM, René Dudfield ren...@gmail.com wrote:
On Wed, Dec 30, 2009 at 2:26 PM, Ravi lists_r...@lavabit.com wrote:
On Wednesday 30 December 2009 06:15:45 René Dudfield wrote:
I agree with many things in that post. Except your conclusion on
multiple versions of
David Cournapeau wrote:
You really should not try to make the point that Pypi is working for
the scipy community:
I think the evidence supports that pypi is useful, and therefor better
than nothing -- which in no way means it couldn't be much better.
My personal experience is that I always
Charles R Harris wrote:
That is due to type promotion for the ufunc call:
In [17]: a1 = np.array('a\x00\x00\x00')
n [21]: np.array(['a'], dtype=a1.dtype)[0]
Out[21]: 'a'
In [22]: np.array(['a'], dtype=a1.dtype).tostring()
Out[22]: 'a\x00\x00\x00'
it took me a bit to figure out what
On Thu, Dec 31, 2009 at 10:50 AM, Christopher Barker
chris.bar...@noaa.gov wrote:
David Cournapeau wrote:
You really should not try to make the point that Pypi is working for
the scipy community:
I think the evidence supports that pypi is useful
Yes - I stressed that it was not working well,
28 matches
Mail list logo