On Thu, May 31, 2018 at 10:39 AM, Marten van Kerkwijk < m.h.vankerkw...@gmail.com> wrote:
> p.p.s. Your multiple dispatch signature for broadcasted dimensions is > actually not quite right: should be > (n|1),(n|1)->() ===> > > (n),(n)->() | (n),(1)->() | (1),(n)->() | (n),() -> () | (),(n)->() > > This is becoming quite verbose... (and perhaps become somewhat slow). > Though arguably one could always allow missing dimensions to be 1 for this > case, so that one could drop the last two. > > At some point there should be a formal syntax description for these things. Chuck
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion