-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Unclear documentation of checkbounds(::Bool, ...)
#15671
Comments
A dimension length is like Note that this needs get re-worked in order to support cartesian indices: #15449 (comment). |
"index range"? "size of dimension"? Would this work?
|
Sure, that'd be fine, but I don't think I'd call out floating point indexes. |
The docstring for this function seems to have changed substantially so I'm going to close. Feel free to reopen if it's still unclear. |
This function has the documentation
I don't understand the term "dimension length".
I also don't understand how this helps defining a new type that can be used as index for all arrays -- wouldn't that require re-defining all array types'
getindex
functions?Furthermore, there seems to be a function
function checkbounds(::Type{Bool}, sz::Dims, I...)
that is exported, but not documented.The text was updated successfully, but these errors were encountered: