[Numpy-discussion] Linear algebra functions on empty arrays
sebastian at sipsolutions.net
Mon Sep 15 05:48:48 EDT 2014
for https://github.com/numpy/numpy/pull/3861/files I would like to allow
0-sized dimensions for generalized ufuncs, meaning that the gufunc has
to be able to handle this, but also that it *can* handle it at all.
However lapack does not support this, so it needs some explicit fixing.
Also some of the linalg functions currently explicitly allow and others
explicitly disallow empty arrays.
For example the QR and eigvals does not allow it, but on the other hand
solve explicitly does (most probably never did, simply because lapack
does not). So I am wondering if there is some convention for this, or
what convention we should implement.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: This is a digitally signed message part
More information about the NumPy-Discussion