lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Tue, Apr 24, 2018 at 5:10 PM, steve donovan <> wrote:

> Talking about notation - I do recall from my days of using mathematics, that the index of a summation was more likely to run from 1 to n.

I am not exactly sure what you mean by "using mathematics", but the use of index zero to denote the initial element in a series has been standard since at least Cauchy's Cours d'Analyse (1821), where in section 6.1 he wrote u_0, u_1, u_2, u_3, etc, to introduce infinite series, and three lines below, s_n = u_0 + u_1 + u_2 + .. + u_{n - 1} to define its partial sum.

Way before any C programmers existed.