You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR improves the docs for the strided array interface by clarifying
that `elsize` is in bytes and not elements, and adding an example of how
the functions fit together.
XRef: #59435
|`strides(A)`|| Return the distance in memory (in number of elements) between adjacent elements in each dimension as a tuple. If `A` is an `AbstractArray{T,0}`, this should return an empty tuple. |
403
403
|`Base.unsafe_convert(::Type{Ptr{T}}, A)`|| Return the native address of an array. |
404
-
|`Base.elsize(::Type{<:A})`|| Return the stride between consecutive elements in the array. |
404
+
|`Base.elsize(::Type{<:A})`|| Return the stride (in number of bytes) between consecutive elements in the array. |
0 commit comments