On Wed, Jan 26, 2011 at 12:48 PM, Mark Wiebe <mwwiebe@gmail.com> wrote:
On Wed, Jan 26, 2011 at 1:36 PM, Joshua Holbrook <josh.holbrook@gmail.com> wrote:
On Wed, Jan 26, 2011 at 11:27 AM, Mark Wiebe <mwwiebe@gmail.com> wrote:
I wrote a new function, einsum, which implements Einstein summation notation, and I'd like comments/thoughts from people who might be interested in this kind of thing.
This sounds really cool! I've definitely considered doing something like this previously, but never really got around to seriously figuring out any sensible API.
Do you have the source up somewhere? I'd love to try it out myself.
You can check out the new_iterator branch from here: https://github.com/m-paradox/numpy $ git clone https://github.com/m-paradox/numpy.git Cloning into numpy... -Mark
Thanks for the link! How closely coupled is this new code with numpy's internals? That is, could you factor it out into its own package? If so, then people could have immediate use out of it without having to integrate it into numpy proper. --Josh