You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that ArrayBase has no equivalent method to np.outer of numpy. This is quite surprising because outer product is a standard feature and is trivial to implement.
For example, by refering to the implementation of np.outer, we can implement ArrayBase's outer as:
A useful generalization is numpy.ufunc.outer. That would be more work to implement efficiently, though, because we couldn't reuse the matrix multiplication implementation.
I found that
ArrayBase
has no equivalent method tonp.outer
ofnumpy
. This is quite surprising because outer product is a standard feature and is trivial to implement.For example, by refering to the implementation of
np.outer
, we can implement ArrayBase's outer as:then
There is a similar issue/pull request #690, but it implements Kronecker product not outer.
The text was updated successfully, but these errors were encountered: