Y
Hacker News
new
|
ask
|
show
|
jobs
by
127
1976 days ago
Julia is cool, but can I have a version where arrays start at zero?
1 comments
sc11
1976 days ago
No need for another version, Julia supports custom indices by default. Check out
https://docs.julialang.org/en/v1/devdocs/offset-arrays/
and
https://github.com/JuliaArrays/OffsetArrays.jl
link