4 ms·
For much number crunching there is often no substitute for jumping around using indexes computed by sometimes elaborate rules. Although whether to add or subtra
by dagss 10y ago
For much number crunching there is often no substitute for jumping around using indexes computed by sometimes elaborate rules. Although whether to add or subtract 1 in the end is the least complicated part then, but it would have been nice if Python (0), MATLAB (1), Fortran (1), C (0), Julia (1) didn't disagree on the convention as you move between them.