4 ms·
>I can’t comprehend how people came to the conclusion this was a good idea. If you look at a textbook for numerical analysis likely the algorithms will be 1-in
by constantcrying 2y ago
>I can’t comprehend how people came to the conclusion this was a good idea.
If you look at a textbook for numerical analysis likely the algorithms will be 1-indexed. Julia is a language primarily for writing down mathematics, it would be quite silly not to use mathematical conventions.
- forgotpwd16 2y agoCurious whether likely is indeed correct. Certainly the textbook my numerical analysis course had wasn't because remember playing with indices to get clean Julia code.
- constantcrying 2y agoTo be honest I don't think I ever saw a book or had a lecture about numerical analysis, where indices were deliberately started at 0.