On Mon, Mar 20, 2023 at 9:09 PM Ralf Gommers wrote:
>
> So my proposal is to drop all the Docker Hub and Gitpod related code and
> docs. I have already discussed this with Tania Allard, who did most of the
> heavy lifting on the initial creation of the Gitpod machinery (for SciPy,
> which was
Hi Monte,
This strikes me as a slightly strange request; ctypes is intended to
interface with the C memory model, which has no native representation of
fortran arrays.
The underlying workings of `as_array` is to cast your ctype pointer into a
ctypes array object, and then pass that into numpy.
Would it be okay to add an argument to ctypeslib.as_array() that allowed
specifying that a pointer references column-major memory layout?
Currently if we use ndarray.ctypes.data_as() to get a pointer to a
Fortran-ordered array and then we use ctypeslib.as_array() to read that same
array back
On Thu, Mar 23, 2023 at 5:21 AM Sebastian Berg
wrote:
> On Wed, 2023-03-22 at 12:00 -0400, Robert Kern wrote:
> > On Wed, Mar 22, 2023 at 9:34 AM Neal Becker
> > wrote:
> >
> > > I have a function F
> > > def F(a, b):
> > > c = a * b
> > >
> > > Initially, a is a scalar, b[240,3000]. No
On Thu, Mar 23, 2023 at 10:43 AM Clemens Brunner
wrote:
> Thanks Ralf, this sounds great! Just making sure I understand, this means
> that for macOS 13, we have to enable Accelerate by building NumPy from
> source.
Indeed. Either that, or use a packaging system that's more capable in this
Thanks Ralf, this sounds great! Just making sure I understand, this means that
for macOS 13, we have to enable Accelerate by building NumPy from source. Once
macOS 13.3 is out, building SciPy from source will also link to Accelerate.
Finally, Accelerate support will be enabled by default in
On Thu, Mar 23, 2023 at 1:55 AM Clemens Brunner
wrote:
> Hello!
>
> I recently got a new MacBook Pro with an M2 Pro CPU (ARM64). When I ran
> some numerical computations (ICA to be precise), I was surprised how slow
> it was - way slower than e.g. my almost 10 year old Intel Mac. It turns out
>
On Wed, 2023-03-22 at 12:00 -0400, Robert Kern wrote:
> On Wed, Mar 22, 2023 at 9:34 AM Neal Becker
> wrote:
>
> > I have a function F
> > def F(a, b):
> > c = a * b
> >
> > Initially, a is a scalar, b[240,3000]. No problem.
> > Later I want to use F, where a[240] is a vector. I want to