Charles R Harris charlesr.harris at gmail.com writes:
On Mon, May 24, 2010 at 1:57 AM, Amir amirnntp at gmail.com wrote:
I am trying to build numpy against Cray's xt-libsci library on a Cray XT5. I
am getting an error I am hoping for hints on how to resolve:
In [1]: import numpy
snip
hi,
i need to find which elements of an array sums up to an specific value
any idea of how to do this?
best,
rf
--
GNU/Linux User #479299
skype: fabbri.renato
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
Thu, 01 Jul 2010 06:17:50 -0300, Renato Fabbri wrote:
i need to find which elements of an array sums up to an specific value
any idea of how to do this?
Sounds like the knapsack problem
http://en.wikipedia.org/wiki/Knapsack_problem
___
Great! Thanks for all your answers!
I actually have the files created as .npy (appending a new array eact time).
I know it's weird, and it's not its intended use. But, for whatsoever
reasons, I came to use that. No turn back now.
Fortunately, I am able to read the files correctly, so being weird
Ruben Salvador wrote:
Great! Thanks for all your answers!
I actually have the files created as .npy (appending a new array eact
time). I know it's weird, and it's not its intended use. But, for
whatsoever reasons, I came to use that. No turn back now.
Fortunately, I am able to read the
On Thu, Jul 1, 2010 at 3:17 AM, Renato Fabbri renato.fab...@gmail.com wrote:
hi,
i need to find which elements of an array sums up to an specific value
any idea of how to do this?
Not sure if there is a better way but a brut force way would be to
a
array([[ 7., 5., 9., 3.],
[ 7.,
On 06/29/2010 11:38 PM, David Goldsmith wrote:
On Tue, Jun 29, 2010 at 8:16 PM, Bruce Southey bsout...@gmail.com
mailto:bsout...@gmail.com wrote:
On Tue, Jun 29, 2010 at 6:03 PM, David Goldsmith
d.l.goldsm...@gmail.com mailto:d.l.goldsm...@gmail.com wrote:
On Tue, Jun 29, 2010 at
just a solution (not all of them)
and the application happen to come up with something like 10k values
in the array. don care waiting, but...
2010/7/1 Vincent Davis vinc...@vincentdavis.net:
On Thu, Jul 1, 2010 at 3:17 AM, Renato Fabbri renato.fab...@gmail.com wrote:
hi,
i need to find
Hi Pauli and Anne,
On Tuesday 15 June 2010 13:37:30 Pauli Virtanen wrote:
pe, 2010-06-11 kello 10:52 +0200, Hans Meine kirjoitti:
At the bottom you can see that he basically wraps all numpy.ufuncs he can
find in the numpy top-level namespace automatically.
Ok, here's the branch:
to, 2010-07-01 kello 11:46 -0300, Renato Fabbri kirjoitti:
just a solution (not all of them)
and the application happen to come up with something like 10k values
in the array. don care waiting, but...
As said, the problem is a well-known one, and it's not really Python or
Numpy-specific, so
On Thu, Jul 1, 2010 at 8:40 AM, Bruce Southey bsout...@gmail.com wrote:
On 06/29/2010 11:38 PM, David Goldsmith wrote:
On Tue, Jun 29, 2010 at 8:16 PM, Bruce Southey bsout...@gmail.com wrote:
On Tue, Jun 29, 2010 at 6:03 PM, David Goldsmith
d.l.goldsm...@gmail.com wrote:
On Tue, Jun 29,
On Thu, Jul 1, 2010 at 9:11 AM, Charles R Harris
charlesr.har...@gmail.comwrote:
On Thu, Jul 1, 2010 at 8:40 AM, Bruce Southey bsout...@gmail.com wrote:
On 06/29/2010 11:38 PM, David Goldsmith wrote:
On Tue, Jun 29, 2010 at 8:16 PM, Bruce Southey bsout...@gmail.comwrote:
On Tue, Jun 29,
=
Announcing PyTables 2.2 (final)
=
I'm happy to announce PyTables 2.2 (final). After 18 months of
continuous development and testing, this is, by far, the most powerful
and well-tested release ever. I hope you like it too.
A Thursday 01 July 2010 21:10:42 Francesc Alted escrigué:
http://www.pytables.org/download/preliminary
Mmh, that should read:
http://www.pytables.org/download/stable
Sorry for the typo!
--
Francesc Alted
___
NumPy-Discussion mailing list
Given an array with two axes, sorted by a column 'SLICE_BY', how can I
extract slice indexes for rows with the same 'SLICE_BY' value?
Here is an example program, demonstrating the problem:
from numpy import *
a = random.randint(0,100,(20,4))
SLICE_BY = 0 # Make slices of array 'a' by column
Hi. The docstring (in the wiki) for where states:
x, y : array_like, optionalValues from which to choose. *x* and *y* need to
have the same shape as *condition*.But:
x = np.eye(2)
np.where(x,2,3)
array([[2, 3],
[3, 2]])
So apparently where supports broadcasting of scalars at least;
Hi,
I am pleased to announce the release 0.0.3 for Bento, the pythonic
packaging solution.
Wherease the 0.0.2 release was mostly about getting the
simplest-still-useful subset of distutils features, this new release
adds quite a few significant features:
- Add hooks to customize
Lisandro Dalcin skrev:
No, no sarcasm at all! I just realized that PyCObject were
(pending)deprecated in 2.7 ... Anyway. let me say I'm so annoyed and
upset as you.
PyCapsule should be used instead. It has two main advantages over
PyCObject: First, it associates a 'name' with the void
This behavior is quite curious. While it is consistent and it behaves
exactly as documented (after clarification), I am curious about the
rational. Is it merely an unavoidable consequence of passing in the output
array?
Certainly a few examples from the above emails would make this extremely
Hi,
While I agree that toydist needs a new name, Bento might not be a good
choice. It's already the name of a database system for Macintosh from
Filemaker, an Apple subsidiary. I'd be *very* surprised if the name
Bento is not copyrighted.
Have a look at
On Fri, Jul 2, 2010 at 1:56 PM, Robert Pyle rp...@post.harvard.edu wrote:
Hi,
While I agree that toydist needs a new name, Bento might not be a good
choice. It's already the name of a database system for Macintosh from
Filemaker, an Apple subsidiary. I'd be *very* surprised if the name
21 matches
Mail list logo