Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 90, Issue 83

2014-03-26 Thread Alan G Isaac
On 3/25/2014 5:13 PM, Colin J. Williams wrote:
 avoid the use of an additional operator which would only be used with numpy.


http://legacy.python.org/dev/peps/pep-0465/#but-isn-t-matrix-multiplication-a-pretty-niche-requirement

Alan Isaac
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] NumPy-Discussion Digest, Vol 90, Issue 83

2014-03-25 Thread Colin J. Williams


On 25-Mar-2014 1:00 PM, numpy-discussion-requ...@scipy.org wrote:
Message: 3 Date: Mon, 24 Mar 2014 17:58:57 -0600 From: Charles R 
Harris charlesr.har...@gmail.com Subject: Re: [Numpy-discussion] 
Resolving the associativity/precedence debate for @ To: Discussion of 
Numerical Python numpy-discussion@scipy.org Message-ID: 
cab6mnxlyjna5bhgoho+u8+p3umvxdjgg+zuqfwi+vjfhfos...@mail.gmail.com 
Content-Type: text/plain; charset=iso-8859-1 On Mon, Mar 24, 2014 at 
5:56 PM, Nathaniel Smith n...@pobox.com wrote:

On Sat, Mar 22, 2014 at 6:13 PM, Nathaniel Smithn...@pobox.com  wrote:

 After 88 emails we don't have a conclusion in the other thread (see
 [1] for background). But we have to come to some conclusion or another
 if we want @ to exist:-). So I'll summarize where the discussion
 stands and let's see if we can find some way to resolve this.


Response in this thread so far seems (AFAICT) to have pretty much
converged on same-left.

If you think that this would be terrible and there is some compelling
argument against it, then please speak up! Otherwise, if no-one
objects, then I'll go ahead in the next few days and put same-left
into the PEP.


I think we should take a close look at broadcasting before deciding on the
precedence.

Chuck
-- next part --
An HTML attachment was scrubbed...
URL:http://mail.scipy.org/pipermail/numpy-discussion/attachments/20140324/626e79be/attachment-0001.html  


--
Perhaps a closer look at np.matrix is needed too.  There has been no 
close exploration of the weaknesses perceived by Nathan in the Matrix 
class.  Are any of these of substance?  If so, what corrections would be 
needed?


Would implementation of those changes be done readily.

I would like to see a Vector class, as a specialization of Matrix.

These would avoid the use of an additional operator which would only be 
used with numpy.


Colin W.

___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion