3 ms·
Julia is cool, but can I have a version where arrays start at zero?
by 127 6y ago
Julia is cool, but can I have a version where arrays start at zero?
- sc11 6y agoNo need for another version, Julia supports custom indices by default. Check out https://docs.julialang.org/en/v1/devdocs/offset-arrays/ https://docs.julialang.org/en/v1/devdocs/offset-arrays/ and https://github.com/JuliaArrays/OffsetArrays.jl https://github.com/JuliaArrays/OffsetArrays.jl