Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce over 2d values is awkward #125

Open
eholk opened this issue Jan 29, 2014 · 0 comments
Open

Reduce over 2d values is awkward #125

eholk opened this issue Jan 29, 2014 · 0 comments

Comments

@eholk
Copy link
Owner

eholk commented Jan 29, 2014

Currently to do a matrix sum you have to do something like this:

(reduce + (kernel ((row matrix)) (reduce + row)))

Having to do two reduces and a kernel is sort of verbose. We should consider a better syntax, like maybe just (reduce2 + matrix). It'd be nice to have a more generic version that also generalizes to three dimensional data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant