Re: [Numpy-discussion] Generalized rectangle intersection. (Was: Array blitting)

2017-07-10 Thread Mikhail V
On 10 July 2017 at 10:34, Jerome Kieffer wrote: > On Sun, 9 Jul 2017 23:35:58 +0200 > Mikhail V wrote: > >> disclaimer: I am not a past contributor to numpy and I don't know >> much about github, and what pull request means. So I just put the >> examples here. >> >> So in short, the proposal idea

Re: [Numpy-discussion] Generalized rectangle intersection. (Was: Array blitting)

2017-07-10 Thread Stefan van der Walt
On Mon, Jul 10, 2017, at 01:34, Jerome Kieffer wrote: > On Sun, 9 Jul 2017 23:35:58 +0200 > Mikhail V wrote: > > > disclaimer: I am not a past contributor to numpy and I don't know > > much about github, and what pull request means. So I just put the > > examples here. > > > > So in short, the p

Re: [Numpy-discussion] Generalized rectangle intersection. (Was: Array blitting)

2017-07-10 Thread Jerome Kieffer
On Sun, 9 Jul 2017 23:35:58 +0200 Mikhail V wrote: > disclaimer: I am not a past contributor to numpy and I don't know > much about github, and what pull request means. So I just put the > examples here. > > So in short, the proposal idea is to add a library function which > calculates the inter

[Numpy-discussion] Generalized rectangle intersection. (Was: Array blitting)

2017-07-09 Thread Mikhail V
disclaimer: I am not a past contributor to numpy and I don't know much about github, and what pull request means. So I just put the examples here. So in short, the proposal idea is to add a library function which calculates the intersection area of two rectangles, generalized for any dimensions. T