Column Vectors vs. Row Vectors
I studied physics, and I did a bit of 3D graphics back in the day, and I could never remember the difference between column and row vectors (or co- and contravariant vectors, bra and ket vectors, ...) and when to use which. My guilty secret is that I don&#x27;t care.<p>For me a vector is just abstractly three or four numbers together. (Maybe with some defined transformation properties if I&#x27;m doing physics.) Whether a matrix is stored row-major or column-major is an implementation detail I try to hide.<p>In fact I used to make indexing errors all the time. But now when I need to deal with vectors and matrices, I look up or decide on the &quot;correct&quot; way, hide everything behind Vector and Matrix classes, implement dot and cross product once, and never fall back to the raw vector elements if possible.