-
Notifications
You must be signed in to change notification settings - Fork 105
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
multi indexing of functions #943
Comments
There is a huge effort in this direction, started with issue #342, then continued in #731, #857, #907, #908. The pull requests #739 and #861 are our WIP implementations of this.
We agree and we're working on it. However, on a deeper level this is non-trivial since we want to be able to support several backends, and up until lately there were no good GPU backends that allowed that syntax (there now is in libgpuarray). You can anyway expect this feature to come to ODL Soon®. |
Can I close this as duplicate btw, or is there anything new from the others this adds? |
Just for the record, I'm pushing this stuff for finalization currently, including GPU support. So hang tight :-) |
Closing as duplicate of ~10 issues taken together. |
I guess this issue was raised somewhere already but I could not find it. So please apologies my duplicate.
In all my applications, the images are 2 or 3 dimensional so it would be good if ODL was supporting multi indexing. Here an example that does not work:
Of course by now I know a way around it:
x.asarray()[1,1]
However, this does not satisfy my needs as I want to write code that I can interchangeably with ODL or numpy. Is it so difficult to implement this directly, e.g.x[1,1] := x.asarray()[1,1]
?The text was updated successfully, but these errors were encountered: