[Numpy-discussion] Preliminary thoughts on implementing __matmul__
Chris Barker
chris.barker at noaa.gov
Wed Aug 6 17:05:19 EDT 2014
On Wed, Aug 6, 2014 at 8:32 AM, Charles R Harris <charlesr.harris at gmail.com>
wrote:
> Should also mention that we don't have the ability to operate on stacked
> vectors because they can't be identified by dimension info. One workaround
> is to add dummy dimensions where needed, another is to add two flags, row
> and col, and set them appropriately.
>
I've thought for ages that if you want to naturally do linear algebra, you
need to capture the concept of a row and column vector as distinct from
each-other and from (1,n) and (n,1) shape arrays. So:
+1
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140806/e04c2b67/attachment.html>
More information about the NumPy-Discussion
mailing list