It’s all kind of arbitrary. The reason for the range (i, j) really getting us elements (i,i+1 ... j-1) is as arbitrary as zero indexing. MATLAB, for example, has one indexing and is inclusive of j.
(i, j)
(i,i+1 ... j-1)
j
It’s all kind of arbitrary. The reason for the range
(i, j)really getting us elements(i,i+1 ... j-1)is as arbitrary as zero indexing. MATLAB, for example, has one indexing and is inclusive ofj.