4 ms·
My experience strongly disagrees. I have done scientific computing in Matlab, Python, and C++, and Matlab is the one with the awkward +1, -1 everywhere.
by mkl 7y ago
My experience strongly disagrees. I have done scientific computing in Matlab, Python, and C++, and Matlab is the one with the awkward +1, -1 everywhere.
- palae 7y agoFair enough. I was thinking of operations like getting row i from a n*m matrix, which would be A(i,:) in 1-based compared to A(i-1,:) in 0-based (or A(i,:) with a 0..n-1 index).