|
|
|
|
|
by dnautics
2980 days ago
|
|
Generally math formulae are one based, the fft and the Taylor expansions being the major exception. Natural numbers, by convention, unless you're bourbaki, start at one. I do appreciate that zero is easier because of offset caluculations, but you really do get used to it and in most cases the compiler figures it out with almost no penalty. |
|
What formulas do you regularly use which benefit from being 1-based? Note, I'm not asking for instances where the index doesn't really matter and the author of a paper simply chose base-1.
There are clearly cases where zero based is more natural. But I don't regularly use any cases where one based is an improvement.
I will admit that zero-based adds a lot of confusion when communicating to other people.