-
Notifications
You must be signed in to change notification settings - Fork 41
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
end
doesn't work correctly
#790
Comments
In Julia But the good news is DD implements type level begin and end with |
I see. A big warning in the README/docs would be nice (did I miss it?). Using (I like your package very much btw!) |
Yeah I just haven't documented it well, and its quite new. If you want to add it to the docs and the readme that would be very helpful. What we have now is just docs for help?> End
search: End end endswith ENDIAN_BOM append! QuoteNode getindex setindex! prevind prepend! expanduser seekend nextind checkindex parentmodule parentindices isdefined LinearIndices @isdefined eachindex
End <: Position
End()
Used to specify the end index of a Dimension axis, as regular end will not work with named dimensions. Can be used with : to create a BeginEndRange or BeginEndStepRange.
Also used to specify lookup values correspond to the end locus of an interval.
help?> Begin
search: Begin begin disable_sigint reenable_sigint
Begin <: Position
Begin()
Used to specify the begin index of a Dimension axis, as regular begin will not work with named dimensions.
Can be used with : to create a BeginEndRange or BeginEndStepRange. But you're right, discoverability is important as this can lead to bugs. Its just one of those things that once you realise |
Hmm, do |
Yes mostly they will work with regular arrays too. Possibly slightly more widely if you construct them as |
The order of arguments matters when indexing with
end
It uses the last index in the first dimension (5), not in the
Y
dimension.The text was updated successfully, but these errors were encountered: