Hi Marten,
As a user of reduceat I seriously like your new proposal!
I notice that in your current proposal, each element in the 'at' list
shall be interpreted asif they are parameters to `slice`.
I wonder if it is meaningful to define reduceat on other `fancy` indexing types?
Cheers,
- Yu
>
> Personally I prefer a parallel programming style with queues – either to
> scatter arrays to workers and collecting arrays from workers, or to chain
> workers together in a pipeline (without using coroutines). But exactly how
> you program is a matter of taste. I want to make it as inexpensive
> Again, not everyone uses Unix.
>
> And on Unix it is not trival to pass data back from the child process. I
> solved that problem with Sys V IPC (pickling the name of the segment).
>
I wonder if it is neccessary insist being able to pass large amount of data
back from child to the parent
Hi,
I've been thinking and exploring this for some time. If we are to
start some effort I'd like to help. Here are my comments, mostly
regarding to Sturla's comments.
1. If we are talking about shared memory and copy-on-write
inheritance, then we are using 'fork'. If we are free to use fork,
Hi,
Here is another example.
To write pix2ang (and similar functions) to a ufunc, one may want to have
implicit scalar broadcast on `nested` and `nsides` arguments.
The function is described here:
Fox-Rabinovitz
<jfoxrabinov...@gmail.com> wrote:
> On Thu, Mar 17, 2016 at 10:03 AM, Nathaniel Smith <n...@pobox.com> wrote:
>> On Mar 17, 2016 1:22 AM, "Feng Yu" <rainwood...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> Here is ano
Thanks for the explanation. I see the point now.
On Thu, Mar 17, 2016 at 3:21 PM, Nathaniel Smith <n...@pobox.com> wrote:
> On Thu, Mar 17, 2016 at 2:04 PM, Feng Yu <rainwood...@gmail.com> wrote:
>> Hi,
>>
>> ang2pix is used in astronomy to pixelize coordinate in
Hi,
If the base address and size of the anonymous memory map are 'shared',
then one can protect them with a lock, grow the memmap with remap (or
unmap and map, or other tricks), and release the lock. During the
'resize' call, any reference to the array from Python in other
processes could just
Hi Ryan,
Did you consider packing the arrays into one(two) giant array stored with mmap?
That way you only need to store the start & end offsets, and there is
no need to use a dictionary.
It may allow you to simplify some numerical operations as well.
To be more specific,
start : numpy.intp
Hi Luke,
Could you check if you have "/Users/lzkelley/Programs/public/numpy/ in
your PYTHONPATH?
I would also suggest you add a print(np) line before the crash in
nosetester.py. I got something like this (which didn't crash):
If you see something not starting with 'numpy/build', then it is
Hi Nathaniel,
Thanks for the notes.
In some sense, the new dtype class(es) will provided a way of
formalizing these `weird` metadata, and probably exposing them to
Python.
May I add that please consider adding a way to declare the sorting
order (priority and direction) of fields in a structured
Dear list,
This is forwarded from issue 6217 https://github.com/numpy/numpy/issues/6217
What is the way to implement DESC ordering in the sorting routines of numpy?
(I am borrowing DESC/ASC from the SQL notation)
For a stable DESC ordering sort, one can not revert the sorted array via
12 matches
Mail list logo