Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not at all. f[x] is clearly the xth component of the array f :-D


On the blackboard in the mathematics department it’s not.

But I get your point.

I have also heard the objection that [x] is a 1×1 matrix whose only element is ‘x’.


Square brackets can also denote the floor function (especially in old works where '⌊' and '⌋' were typographically unavailable).


An array is merely a function from N to some set.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: