Re: [Numpy-discussion] new numpy.org is live

2020-05-25 Thread Travis Oliphant
This is so excellent! What a wonderful upgrade to the web-page. Thank you for all the hard work and effort! -Travis On Sun, May 24, 2020 at 7:12 AM Inessa Pawson wrote: > The NumPy web team is excited to announce the launch of the newly > redesigned numpy.org. To transform the website into a

Re: [Numpy-discussion] Proposal: NEP 41 -- First step towards a new Datatype System

2020-03-23 Thread Travis Oliphant
On Sun, Mar 22, 2020 at 1:33 PM Sebastian Berg wrote: > Hi, > > thanks for the feedback! > > On Sat, 2020-03-21 at 15:58 -0500, Travis Oliphant wrote: > > Thanks for publicizing this and all the work that has gone into > > getting > > this far. > &

Re: [Numpy-discussion] Proposal: NEP 41 -- First step towards a new Datatype System

2020-03-21 Thread Travis Oliphant
Thanks for publicizing this and all the work that has gone into getting this far. I'm extremely supportive of the foundational DType meta-type and making dtypes classes. This was the epiphany I had in 2015 that led me to experiment with xnd and later mtypes. I have not had the funding to work on

Re: [Numpy-discussion] Behaviour of copy for structured dtypes with gaps

2019-04-11 Thread Travis Oliphant
I agree with Stefan that option 2 is what NumPy should go with for .copy() If you want to get an identical memory copy you should be getting the .data attribute and doing something with that buffer. My $0.02 -Travis On Thu, Apr 11, 2019 at 6:01 PM Stefan van der Walt wrote: > Hi Marten, > >

Re: [Numpy-discussion] introducing Numpy.net, a pure C# implementation of Numpy

2019-03-16 Thread Travis Oliphant
Thanks for sharing this work with the world, What you did is not an easy task. This makes it easier for people to port NumPy-based Python code to C#. Of course, this group would more likely prefer people to port their C# code to Python + NumPy. Nonetheless, I think there are interesting thing

Re: [Numpy-discussion] Reminder: Numpy dev meeting Fri-Sat Nov 30-Dec 1

2018-11-28 Thread Travis Oliphant
I will be available remotely as well, but unable to come to BIDS this week. I am particularly interested in how to improve the dtype subsystem --- potentially using libndtypes from the xnd project. Thanks, -Travis On Wed, Nov 28, 2018 at 3:16 PM Matti Picus wrote: > We will be meeting at B

Re: [Numpy-discussion] Depreciating asfortranarray and ascontiguousarray

2018-10-27 Thread Travis Oliphant
to 1d. >If the calling code really needed a 1d array, then it will probably >fail, which is not really different to 2, but has the advantage that the >names are less surprising. >4. Only improve the documentation > > My preference would be 3 > > Eric >

Re: [Numpy-discussion] asanyarray vs. asarray

2018-10-26 Thread Travis Oliphant
On Fri, Oct 19, 2018 at 8:24 PM Marten van Kerkwijk < m.h.vankerkw...@gmail.com> wrote: > Hi All, > > It seems there are two extreme possibilities for general functions: > 1. Put `asarray` everywhere. The main benefit that I can see is that even > if people put in list instead of arrays, one is gu

Re: [Numpy-discussion] Depreciating asfortranarray and ascontiguousarray

2018-10-26 Thread Travis Oliphant
ansition. Your bringing the problem of mxnet devs is most appreciated. I will make a documentation PR. -Travis > Alex. > > > 27.10.2018, 02:27, "Travis Oliphant" : > > What is the justification for deprecation exactly? These functions have > been well documente

Re: [Numpy-discussion] Depreciating asfortranarray and ascontiguousarray

2018-10-26 Thread Travis Oliphant
I see now the original motivation as the unfortunate situation that mxnet authors did not understand that np.ascontiguousarray returned an array of at least one dimension and perhaps used that one API to assume that NumPy did not support 0-d arrays --- which NumPy does indeed support. Certainly th

Re: [Numpy-discussion] Depreciating asfortranarray and ascontiguousarray

2018-10-26 Thread Travis Oliphant
What is the justification for deprecation exactly? These functions have been well documented and have had the intended behavior of producing arrays with dimension at least 1 for some time. Why is it unexpected to produce arrays of at least 1 dimension? For some users this is exactly what is want

Re: [Numpy-discussion] NEP 21: Simplified and explicit advanced indexing

2018-06-26 Thread Travis Oliphant
I like the proposal generally. NumPy could use a good orthogonal indexing method and a vectorized-indexing method is fine too. Robert Kern is spot on with his concerns as well. Please do not change what arr[idx] does except to provide warnings and perhaps point people to new .oix and .vix method

Re: [Numpy-discussion] A little about XND

2018-06-17 Thread Travis Oliphant
On Sun, Jun 17, 2018, 7:48 PM Marten van Kerkwijk wrote: > Hi Travis, > > More of a detailed question, but as we are currently thinking about > extending the signature of gufuncs (i.e., things like `(m,n),(n,p)->(m,p)` > for matrix multiplication), and as you must have thought about this for > li

[Numpy-discussion] A little about XND

2018-06-16 Thread Travis Oliphant
Hi everyone, I'm glad I'm able to contribute back to this discussion thread. I wanted to post a quick message to this group to make sure there is no mis-information about XND which has finally reached the point where it can be experimented with (http://xnd.io) and commented on. XND came out of t

Re: [Numpy-discussion] Dropping Python 3.4 support for NumPy 1.16

2018-06-14 Thread Travis Oliphant
It is a welcome thing to see Python 2.7 support disappearing. Dropping 3.4 support in new releases sounds like a great idea as well. NumPy was originally pitched as a Python 3 thing... Travis On Thu, Jun 14, 2018, 12:52 PM Marten van Kerkwijk < m.h.vankerkw...@gmail.com> wrote: > It seems ever