On Mon, Apr 05, 2010 at 05:43:41PM -0500, Travis Oliphant wrote:
> I should have some time over the next couple of weeks, and I am very
> interested in refactoring the NumPy code to separate out the Python
> interface layer from the "library" layer as much as possible. I had
> some discussi
On Mon, Apr 5, 2010 at 11:28 AM, Robert Kern wrote:
> On Mon, Apr 5, 2010 at 13:26, Erik Tollerud wrote:
>> Hmm, unfortunate. So the best approach then is probably just to tell
>> people to install numpy first, then my package?
>
> Yup.
>
And really, this isn't that unreasonable. Not only does
On Apr 5, 2010, at 12:10 PM, David Cournapeau wrote:
> On Tue, Apr 6, 2010 at 12:56 AM, Charles R Harris
> wrote:
>>
>>>
>>
>> Yeah, but there isn't much low level stuff there and I don't want
>> to toss a
>> lot of real numerical code into it.
>
> I don't understand: there is already math cod
On Apr 5, 2010, at 2:36 PM, Nathaniel Peterson wrote:
> Pierre, Thank you for the wonderful explanation.
> I get it! np.alltrue(idx.data == idx2.data) is False.
>
> PS. Thank you for closing ticket #1447; sorry for the trouble.
No problem whatsoever. Thanks for your patience...
Pierre, Thank you for the wonderful explanation.
I get it! np.alltrue(idx.data == idx2.data) is False.
PS. Thank you for closing ticket #1447; sorry for the trouble.
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mail
On Mon, Apr 5, 2010 at 13:26, Erik Tollerud wrote:
> Hmm, unfortunate. So the best approach then is probably just to tell
> people to install numpy first, then my package?
Yup.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by
Hmm, unfortunate. So the best approach then is probably just to tell
people to install numpy first, then my package?
On Fri, Apr 2, 2010 at 12:06 PM, Robert Kern wrote:
> On Fri, Apr 2, 2010 at 13:03, Erik Tollerud wrote:
>> I am writing a setup.py file for a package that will use cython with
>
On Mon, Apr 5, 2010 at 11:10 AM, David Cournapeau wrote:
> On Tue, Apr 6, 2010 at 12:56 AM, Charles R Harris
> wrote:
> >
> >>
> >
> > Yeah, but there isn't much low level stuff there and I don't want to toss
> a
> > lot of real numerical code into it.
>
> I don't understand: there is already mat
On Mon, Apr 5, 2010 at 10:56 AM, David Goldsmith wrote:
> On Mon, Apr 5, 2010 at 9:50 AM, Charles R Harris <
> charlesr.har...@gmail.com> wrote:
>
>> On Mon, Apr 5, 2010 at 10:43 AM, Robert Kern wrote:
>>
>>> On Mon, Apr 5, 2010 at 11:11, Charles R Harris
>>> wrote:
>>> >
>>> >
>>> > On Mon, Apr
On Tue, Apr 6, 2010 at 12:56 AM, Charles R Harris
wrote:
>
>>
>
> Yeah, but there isn't much low level stuff there and I don't want to toss a
> lot of real numerical code into it.
I don't understand: there is already math code there, and you cannot
be much more low level than what's there (there
On Mon, Apr 5, 2010 at 9:50 AM, Charles R Harris
wrote:
> On Mon, Apr 5, 2010 at 10:43 AM, Robert Kern wrote:
>
>> On Mon, Apr 5, 2010 at 11:11, Charles R Harris
>> wrote:
>> >
>> >
>> > On Mon, Apr 5, 2010 at 10:00 AM, Robert Kern
>> wrote:
>> >>
>> >> On Mon, Apr 5, 2010 at 10:56, Charles R Ha
On Mon, Apr 5, 2010 at 10:43 AM, Robert Kern wrote:
> On Mon, Apr 5, 2010 at 11:11, Charles R Harris
> wrote:
> >
> >
> > On Mon, Apr 5, 2010 at 10:00 AM, Robert Kern
> wrote:
> >>
> >> On Mon, Apr 5, 2010 at 10:56, Charles R Harris
> >> wrote:
> >> >
> >> >
> >> > On Mon, Apr 5, 2010 at 9:43
On Mon, Apr 5, 2010 at 11:11, Charles R Harris
wrote:
>
>
> On Mon, Apr 5, 2010 at 10:00 AM, Robert Kern wrote:
>>
>> On Mon, Apr 5, 2010 at 10:56, Charles R Harris
>> wrote:
>> >
>> >
>> > On Mon, Apr 5, 2010 at 9:43 AM, Robert Kern
>> > wrote:
>> >>
>> >> On Mon, Apr 5, 2010 at 10:40, Charles
Hi,
Just to let you know, I now fixed the problem using:
import sys
import numpy
sys.modules['numpy.core.defmatrix'] = numpy.matrixlib.defmatrix
The key is that the statement "import numpy.core.defmatrix" needs to work
for unpickling to succeed, and just renaming things isn't enough.
Cheers
On Mon, Apr 5, 2010 at 10:00 AM, Robert Kern wrote:
> On Mon, Apr 5, 2010 at 10:56, Charles R Harris
> wrote:
> >
> >
> > On Mon, Apr 5, 2010 at 9:43 AM, Robert Kern
> wrote:
> >>
> >> On Mon, Apr 5, 2010 at 10:40, Charles R Harris
> >> wrote:
> >> > Hi All,
> >> >
> >> > David Cournapeau has
On Mon, Apr 5, 2010 at 8:44 AM, Ken Basye wrote:
> Hi Folks,
> I have two arrays, A and B, with the same shape. I want to find the
> highest values in A along some axis, then extract the corresponding
> values from B. I can get the highest values in A with A.max(axis=0) and
> the indices of the
On Mon, Apr 5, 2010 at 10:56, Charles R Harris
wrote:
>
>
> On Mon, Apr 5, 2010 at 9:43 AM, Robert Kern wrote:
>>
>> On Mon, Apr 5, 2010 at 10:40, Charles R Harris
>> wrote:
>> > Hi All,
>> >
>> > David Cournapeau has mentioned that he would like to have a numpy math
>> > library that would supp
On Mon, Apr 5, 2010 at 9:43 AM, Robert Kern wrote:
> On Mon, Apr 5, 2010 at 10:40, Charles R Harris
> wrote:
> > Hi All,
> >
> > David Cournapeau has mentioned that he would like to have a numpy math
> > library that would supply missing functions and I'm wondering how we
> should
> > organise t
On Mon, Apr 5, 2010 at 8:40 AM, Charles R Harris
wrote:
> Hi All,
>
> David Cournapeau has mentioned that he would like to have a numpy math
> library that would supply missing functions and I'm wondering how we should
> organise the source code. Should we put a mathlib directory in
> numpy/core/s
Hi Folks,
I have two arrays, A and B, with the same shape. I want to find the
highest values in A along some axis, then extract the corresponding
values from B. I can get the highest values in A with A.max(axis=0) and
the indices of these highest values with A.argmax(axis=0). I'm trying
to
On Mon, Apr 5, 2010 at 10:40, Charles R Harris
wrote:
> Hi All,
>
> David Cournapeau has mentioned that he would like to have a numpy math
> library that would supply missing functions and I'm wondering how we should
> organise the source code. Should we put a mathlib directory in
> numpy/core/src
Hi All,
David Cournapeau has mentioned that he would like to have a numpy math
library that would supply missing functions and I'm wondering how we should
organise the source code. Should we put a mathlib directory in
numpy/core/src? Inside that directory would be functions for
single/double/exten
On Mon, Apr 5, 2010 at 03:08, Nadav Horesh wrote:
> Is there a way to use memory mapped files as if they were shared memory? I
> made an application in which some (very often non contiguous) parts of a
> memmap array are processed by different processors. However I might use
> shared memory arr
Is there a way to use memory mapped files as if they were shared memory? I made
an application in which some (very often non contiguous) parts of a memmap
array are processed by different processors. However I might use shared memory
array instead. I wonder, since both types share common propert
On Apr 2, 2010, at 1:08 AM, Nathaniel Peterson wrote:
>
> Is this behavior of masked arrays intended, or is it a bug?
It's not a bug, it's an unfortunate side effect of using boolean masked arrays
for indices. Don't. Instead, you should fill the masked arrays with either True
or False (dependi
25 matches
Mail list logo