Custom start index in Julia array? -
How do you declare an array with a custom start index in Julia? In other words, when I declare an array in special circumstances, then instead of 1 , the index of first element 0 or 2 How Can I Make It? . Short answer: Julia has no inherent way of doing this. Long answer: You can create a custom ARA type that will support it easily, and will be a good solution for this problem.
Comments
Post a Comment