logoalt Hacker News

throw-the-towel • today at 4:25 PM • 2 replies • view on HN

i has been the default variable for sum notation in mathematics long before FORTRAN. Here's an example dating from 1838: https://www.numdam.org/item/JMPA_1838_1_3__508_0.pdf


Replies

fph • today at 9:02 PM

It might actually be the other way round: Fortran adopted the convention that i,j,k are integer variables because that was the standard in maths.

vintagedave • today at 6:51 PM

Where in that doc, sorry? I thought I spotted something then realized it may have been a ‘1’.