Today's beef with math: overloading the term "inverse". Inverse of a scalar: 1/n, aka n^-1 Inverse of a matrix: m^-1. So far so good. Inverse of vector: -v. What. Why not v^-1? Turns out both would be right. There is Additive and Multiplicative Inverses.
Moreover, vec*vec is element-wise, but mat*mat is not. But mat+mat *is* element-wise. Not infuriating at all. Hot take: At least for computer science, all basic math operators should be element-wise. Anything else should be a function. Dot, cross, transform, etc.
-
-
vec*vec element-wise literally shows up in math no-where though. In CS it's purely an acceleration technique for SSE/shaders for the most part. Also, multiplicative and additive inverses are not the same thing. In traditional vector-spaces there is no group action on vectors.
-
Clarifying, nobody in the math world writes v^-1 to mean the additive inverse.
Keskustelun loppu
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.