[Numpy-discussion] A little about XND (original) (raw)
Marten van Kerkwijk m.h.vankerkwijk at gmail.com
Mon Jun 18 09:58:38 EDT 2018
- Previous message (by thread): [Numpy-discussion] A little about XND
- Next message (by thread): [Numpy-discussion] A little about XND
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Interesting. If nothing else, it would be a nice way to mark our internal
functions, including the loops. It also should not be difficult to have
(g)ufunc signatures exported in that way, combining signature
and types
.
In more detail, I see the grammar clearly allows fixed dimensions in a way that easily translates, but it isn't immediately obvious to me how one would express broadcasting or possibly missing ones, so perhaps there is room for sharing how to indicate that (although it is at a higher level; the function signature is fine).
-- Marten
For others, direct link to datashape grammar: http://datashape.readthedocs.io/en/latest/grammar.html -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180618/c88ebd04/attachment.html>
- Previous message (by thread): [Numpy-discussion] A little about XND
- Next message (by thread): [Numpy-discussion] A little about XND
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]