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

From a mathematical point of view, a real vector of length n is a function from Z_n to R.

When I was learning programming, I was surprised that in most programming languages we write f(k), but vec[k].

However, we do have syntax vec.at(k) or vec.get(k) in quite a few languages.





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

Search: