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.
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
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.