3 ms·
Consider n real numbers a_0, ..., a_{n-1}. That's not very elegant.
by golol 2y ago
Consider n real numbers a_0, ..., a_{n-1}. That's not very elegant.
- nikolayasdf123 2y agoas a software engineer I see this all day long haha but good point, remembering academic linear algebra, seeing 0..n-1 in sigma/sums notations would be not convenient
- Y_Y 2y agoSure it is. This discrepancy appears in physics too. It's common to use 1,2,3 for spatial indices, but when you reach enlightenment and think in terms of spacetime you add a zero index and not a four.
- pwdisswordfishz 2y agoThat's only because you insist on explicitly mentioning the last element, which you can only do when the sequence is finite and non-empty (more generally, when it is indexed by a successor ordinal). So your choice of notation is not only inelegant, it cannot even express all possible sequences.