this post was submitted on 03 Sep 2024
188 points (93.9% liked)

Science Memes

10885 readers
3713 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
top 15 comments
sorted by: hot top controversial new old
[–] theblueredditrefugee@lemmy.dbzer0.com 39 points 2 months ago (3 children)

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

[–] leisesprecher 29 points 2 months ago (1 children)

It's all just pointers with semantics attached.

[–] socsa@piefed.social 8 points 2 months ago

Vectors with strides.

[–] ZILtoid1991@lemmy.world 3 points 2 months ago

You can force a 2D array to be a matrix if you're clever enough

[–] azi@mander.xyz 2 points 2 months ago

good ol' nominal typing

[–] muntedcrocodile@lemm.ee 27 points 2 months ago (1 children)

Everything's a matrix if u fuck with it hard enough

[–] ignotum@lemmy.world 8 points 2 months ago (1 children)

Everything's a matrix if you realize there is no spoon

[–] UnRelatedBurner@sh.itjust.works 5 points 2 months ago (1 children)

Sadly, they patched the spoon exploit.

[–] ZILtoid1991@lemmy.world 3 points 2 months ago

You can still use movd, movq, movups, etc.

[–] mumblerfish@lemmy.world 15 points 2 months ago (1 children)

A tensor is something that transform as a tensor. Gtfo Christoffel symbols.

[–] vzq@lemmy.blahaj.zone 6 points 2 months ago

Duck typing ftw

[–] marcos@lemmy.world 13 points 2 months ago (1 children)

How you describe a thing is different from what a thing is... A tensor is not a matrix.

And on mathematics, "what a thing is" is a completely useless concept... So, it makes no difference whatsoever.

[–] affiliate@lemmy.world 0 points 2 months ago

the "categorical" way of defining tensor products is essentially "that thing that lets you turn multi-linear maps into linear maps", and linear maps (of finite dimensional vector spaces) are basically matrices anyways. so i don't see it as much of a stretch to say tensors are matrices.

(can you tell that i never took a physics class?)

[–] tatterdemalion@programming.dev 7 points 2 months ago* (last edited 2 months ago) (1 children)

Square matrices are linear endomorphisms. They are isomorphic to (1,1) tensors but not any other rank of tensors.

[–] affiliate@lemmy.world 3 points 2 months ago

a tensor is a multi-linear map V × ... × V × V^^ × ... × V^^ → F, and a multi-linear map V × ... × V × V^^ × ... × V^^ → F is the same as a linear map V ⊗ ... ⊗ V ⊗ V^^ ⊗ ... ⊗ V^^ → F. and a linear map is ""the same thing as"" a matrix. so in this way, you can associate matrices to tensors. (but the matrices are formed in the tensor space V ⊗ ... ⊗ V ⊗ V^^ ⊗ ... ⊗ V^^, not in the vector space V.)