[Numpy-discussion] Vector stacks
Charles R Harris
charlesr.harris at gmail.com
Sat Jul 1 18:31:47 EDT 2017
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion