fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months agoTensorsmander.xyzimagemessage-square15fedilinkarrow-up1213arrow-down113
arrow-up1200arrow-down1imageTensorsmander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 2 months agomessage-square15fedilink
minus-squaretheblueredditrefugee@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up42arrow-down1·2 months agoThe difference between a matrix and a 2d array of numbers is the operations that are performed A tensor really isn’t standardized in the same way so it’s basically just an n-d array in my mind
minus-squareleisesprecher@feddit.orglinkfedilinkEnglisharrow-up30arrow-down1·2 months agoIt’s all just pointers with semantics attached.
minus-squareZILtoid1991@lemmy.worldlinkfedilinkEnglisharrow-up3·2 months agoYou can force a 2D array to be a matrix if you’re clever enough
The difference between a matrix and a 2d array of numbers is the operations that are performed
A tensor really isn’t standardized in the same way so it’s basically just an n-d array in my mind
It’s all just pointers with semantics attached.
Vectors with strides.
You can force a 2D array to be a matrix if you’re clever enough
good ol’ nominal typing