[Numpy-discussion] Vectorize matrix-vector product with multiple matrices of the same size (like np.linalg.solve does ...)

2022-12-21 Thread Thibaut Lunet
Hi everyone, I want to vectorize multiple matrix-vector products and avoid a for loop, a little bit like np.linalg.solve does, for instance : /nDOF = 100// //M = 4// // //mat = np.random.rand(nDOF, M, M)// //u = np.random.rand(nDOF, M)/ /vecMatInv = np.linalg.solve(mat, u)  # => shape (nDOF,

[Numpy-discussion] Re: CI: testing of musllinux

2022-12-21 Thread Ralf Gommers
On Wed, Dec 21, 2022 at 12:04 PM Andrew Nelson wrote: > On Wed, 21 Dec 2022 at 20:40, Matti Picus wrote: > >> Maybe we should have a scientific-python wide discussion of what >> platforms we wish to support, like NEP 29 for python versions. The NEP >> should include some mechanism for adding new

[Numpy-discussion] Re: CI: testing of musllinux

2022-12-21 Thread Andrew Nelson
On Wed, 21 Dec 2022 at 20:40, Matti Picus wrote: > Maybe we should have a scientific-python wide discussion of what > platforms we wish to support, like NEP 29 for python versions. The NEP > should include some mechanism for adding new platforms. It doesn't make > sense to me to be testing someth

[Numpy-discussion] Re: CI: testing of musllinux

2022-12-21 Thread Matti Picus
On 21/12/22 06:41, Andrew Nelson wrote: On Wed, 21 Dec 2022 at 07:29, Andrew Nelson wrote: In https://github.com/scipy/scipy/issues/17630 we're seeing some issues (amongst others) with the scipy test suite that uses numpy==1.24.0 on musllinux. I was wondering if numpy would l