Hacker News new | ask | show | jobs
by kaibee 177 days ago
ijk are standard in linear algebra for vector components.

> (And i and j? Which look so similar at a glance? Never. Never!)

This I agree with.

2 comments

What if not ijk? I know only uvw.
Pretend to be a physicist and use μ and ν.
i came from imaginary numbers which were extended to make quaternions.
i, j, k comes from FORTRAN's implicit types -- by default, names starting with I-N are integers and all other names are real.
this is much older ; Joseph Fourier was already using "i" and "j" for indices in the 1800s. See page 209: https://www.google.ca/books/edition/OEuvres_de_Fourier_Th%C3...
The context is i, j, k as indices in programs. No doubt FORTRAN was influenced by prior use such as you cite. But in no case does i used as an index come from i designating an imaginary number, which is what I aimed to refute.
Representing dimensions as indexable rows and columns of vectors or matrices was done on paper in the 1800s.