fossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 3 months agoTensorsmander.xyzexternal-linkmessage-square15fedilinkarrow-up1211arrow-down113
arrow-up1198arrow-down1external-linkTensorsmander.xyzfossilesque@mander.xyzM to Science Memes@mander.xyzEnglish · 3 months agomessage-square15fedilink
minus-squaretheblueredditrefugee@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up41arrow-down1·3 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·3 months agoIt’s all just pointers with semantics attached.
minus-squareZILtoid1991@lemmy.worldlinkfedilinkEnglisharrow-up3·3 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