[Numpy-discussion] Re: Feature request: function to get minimum and maximum values simultaneously (as a tuple)

2022-06-30 Thread Warren Weckesser
On 6/30/22, Ewout ter Hoeven wrote: > A function to get the minimum and maximum values of an array simultaneously > could be very useful, from both a convenience and performance point of view. > Especially when arrays get larger the performance benefit could be > significant, and even more if the

[Numpy-discussion] Re: Feature request: function to get minimum and maximum values simultaneously (as a tuple)

2022-06-30 Thread Andras Deak
On Thu, Jun 30, 2022, at 22:23, Ewout ter Hoeven wrote: > A function to get the minimum and maximum values of an array > simultaneously could be very useful, from both a convenience and > performance point of view. Especially when arrays get larger the > performance benefit could be significant,

[Numpy-discussion] Feature request: function to get minimum and maximum values simultaneously (as a tuple)

2022-06-30 Thread Ewout ter Hoeven
A function to get the minimum and maximum values of an array simultaneously could be very useful, from both a convenience and performance point of view. Especially when arrays get larger the performance benefit could be significant, and even more if the array doesn't fit in L2/L3 cache or even m

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Ralf Gommers
On Thu, Jun 30, 2022 at 9:25 PM Matthew Brett wrote: > Hi, > > On Thu, Jun 30, 2022 at 8:14 PM Matthew Brett > wrote: > > > >> >> > > >> >> I guess we should change that text to note these do not work on > Windows. > > >> >> > > >> >> I think you can supply extra Fortran flags with the `config_g

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Matthew Brett
Hi, On Thu, Jun 30, 2022 at 8:14 PM Matthew Brett wrote: > > Hi, > > On Thu, Jun 30, 2022 at 10:00 AM Ralf Gommers wrote: > > > > > > > > On Thu, Jun 30, 2022 at 10:47 AM Matthew Brett > > wrote: > >> > >> Hi, > >> > >> On Thu, Jun 30, 2022 at 9:40 AM Ralf Gommers > >> wrote: > >> > > >> > >

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Matthew Brett
Hi, On Thu, Jun 30, 2022 at 10:00 AM Ralf Gommers wrote: > > > > On Thu, Jun 30, 2022 at 10:47 AM Matthew Brett > wrote: >> >> Hi, >> >> On Thu, Jun 30, 2022 at 9:40 AM Ralf Gommers wrote: >> > >> > >> > >> > On Thu, Jun 30, 2022 at 10:29 AM Matthew Brett >> > wrote: >> >> >> >> Hi, >> >> >>

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Matthew Brett
Hi, On Thu, Jun 30, 2022 at 6:30 PM Charles R Harris wrote: > > > > On Thu, Jun 30, 2022 at 11:02 AM Matthew Brett > wrote: >> >> Hi Chuck, >> >> On Thu, Jun 30, 2022 at 2:13 PM Charles R Harris >> wrote: >> > >> > >> > >> > On Wed, Jun 29, 2022 at 5:26 PM Matthew Brett >> > wrote: >> >> >>

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Charles R Harris
On Thu, Jun 30, 2022 at 11:02 AM Matthew Brett wrote: > Hi Chuck, > > On Thu, Jun 30, 2022 at 2:13 PM Charles R Harris > wrote: > > > > > > > > On Wed, Jun 29, 2022 at 5:26 PM Matthew Brett > wrote: > >> > >> Hi, > >> > >> I am very sorry - I feel I should know this, or be able to work it > >>

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Matthew Brett
Hi Chuck, On Thu, Jun 30, 2022 at 2:13 PM Charles R Harris wrote: > > > > On Wed, Jun 29, 2022 at 5:26 PM Matthew Brett wrote: >> >> Hi, >> >> I am very sorry - I feel I should know this, or be able to work it >> out, but is there a way of setting the flags to the C compiler and the >> linker, f

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Charles R Harris
On Wed, Jun 29, 2022 at 5:26 PM Matthew Brett wrote: > Hi, > > I am very sorry - I feel I should know this, or be able to work it > out, but is there a way of setting the flags to the C compiler and the > linker, for the Numpy build, on Windows? > > I'm trying to set the flags for a build with Wi

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Ralf Gommers
On Thu, Jun 30, 2022 at 11:15 AM Ralf Gommers wrote: > > > On Thu, Jun 30, 2022 at 10:57 AM Ralf Gommers > wrote: > >> >> >> On Thu, Jun 30, 2022 at 10:47 AM Matthew Brett >> wrote: >> >>> Hi, >>> >>> On Thu, Jun 30, 2022 at 9:40 AM Ralf Gommers >>> wrote: >>> > >>> > >>> > >>> > On Thu, Jun 3

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Ralf Gommers
On Thu, Jun 30, 2022 at 10:57 AM Ralf Gommers wrote: > > > On Thu, Jun 30, 2022 at 10:47 AM Matthew Brett > wrote: > >> Hi, >> >> On Thu, Jun 30, 2022 at 9:40 AM Ralf Gommers >> wrote: >> > >> > >> > >> > On Thu, Jun 30, 2022 at 10:29 AM Matthew Brett >> wrote: >> >> >> >> Hi, >> >> >> >> On T

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Ralf Gommers
On Thu, Jun 30, 2022 at 10:47 AM Matthew Brett wrote: > Hi, > > On Thu, Jun 30, 2022 at 9:40 AM Ralf Gommers > wrote: > > > > > > > > On Thu, Jun 30, 2022 at 10:29 AM Matthew Brett > wrote: > >> > >> Hi, > >> > >> On Thu, Jun 30, 2022 at 12:42 AM Kevin Sheppard > >> wrote: > >> >> > >> >> > >>

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Matthew Brett
Hi, On Thu, Jun 30, 2022 at 9:40 AM Ralf Gommers wrote: > > > > On Thu, Jun 30, 2022 at 10:29 AM Matthew Brett > wrote: >> >> Hi, >> >> On Thu, Jun 30, 2022 at 12:42 AM Kevin Sheppard >> wrote: >> >> >> >> >> >> Hi, >> >> >> >> I am very sorry - I feel I should know this, or be able to work it

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Ralf Gommers
On Thu, Jun 30, 2022 at 10:29 AM Matthew Brett wrote: > Hi, > > On Thu, Jun 30, 2022 at 12:42 AM Kevin Sheppard > wrote: > >> > >> > >> Hi, > >> > >> I am very sorry - I feel I should know this, or be able to work it > >> out, but is there a way of setting the flags to the C compiler and the > >

[Numpy-discussion] Re: Setting C and linker flags for Windows build

2022-06-30 Thread Matthew Brett
Hi, On Thu, Jun 30, 2022 at 12:42 AM Kevin Sheppard wrote: >> >> >> Hi, >> >> I am very sorry - I feel I should know this, or be able to work it >> out, but is there a way of setting the flags to the C compiler and the >> linker, for the Numpy build, on Windows? >> >> I'm trying to set the flags