[Numpy-discussion] Vector stacks
Charles R Harris
charlesr.harris at gmail.com
Sat Jul 1 18:31:47 EDT 2017
Hi All,
The '@' operator works well with stacks of matrices, but not with stacks
of vectors. Given the recent addition of '__array_ufunc__', and the intent
to make `__matmul__` use a ufunc, I've been wondering is it would make
sense to add ndarray subclasses 'rvec' and 'cvec' that would override that
operator so as to behave like stacks of row/column vectors. Any other ideas
for the solution to stacked vectors are welcome.
Thoughts?
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20170701/a87cd7f8/attachment.html>
More information about the NumPy-Discussion
mailing list