What is the difference between a tensor and a matrix? Is tensor just the...

Methnerd
Methnerd

What is the difference between a tensor and a matrix? Is tensor just the patrician term for matrix?

All urls found in this thread:

youtube.com/watch?v=f5liqUk0ZTw

TurtleCat
TurtleCat

Is tensor just the patrician term for matrix?
this is what cs-shitters actually believe

eGremlin
eGremlin

A matrix is just a method to represent a second order tensor. Tensors can have any order. Do they seem like the same thing to you?

FastChef
FastChef

So, tensors are better than matrices?

Ignoramus
Ignoramus

a matrix is a rank 2 tensor. tensors are generalizations

Playboyize
Playboyize

So they are better right?

WebTool
WebTool

A tensor is a multilinear map.

A matrix is a representation of a linear map in a fixed basis.

TurtleCat
TurtleCat

a tensor is anything that obeys certain symmetry and rotation rules.

a sum of two vectors is not a tensor but a vector minus another vector is a tensor.

JunkTop
JunkTop

youtube.com/watch?v=f5liqUk0ZTw

Fuzzy_Logic
Fuzzy_Logic

i mean, i guess? you could think as tensors as a group and matrices as one member of that group if that helps

Carnalpleasure
Carnalpleasure

Tensor is also a representation of multilinear transformation in fixed bases

Emberburn
Emberburn

But vector minus a vector is just a sum of two vectors, v-w=v+(-w), so your statement can't be true

Flameblow
Flameblow

Why as a group? Don't they form a ring like matrices do? If so then matrices are better

TechHater
TechHater

A tensor can be represented in a basis, but they are not in general.

Really a tensor should should just be an element of the tensor algebra of a module. By the universal property of the tensor product, this equivalent to multilinear maps.

Stupidasole
Stupidasole

This

Harmless_Venom
Harmless_Venom

I think he meant group in the informal sense (ie. a gathering)

Skullbone
Skullbone

So he's a brainlet, isn't he? Then should I trust him that tensors are better than matrices?

Stark_Naked
Stark_Naked

Considering that you use the word brainlet and that your question does not make sense, I'm not sure how to respond.
Tensors are used to represent multilinear maps, matrices represent linear maps and that's about all there is to it.

Harmless_Venom
Harmless_Venom

Is tensor just the patrician term for matrix?
Yes.

Boy_vs_Girl
Boy_vs_Girl

Wrong.

5mileys
5mileys

A tensor is just something that can be indexed:
-A vector is a 1-tensor since it is singly indexed.
-A matrix is a 2-tensor since it is doubly indexed.
-A 3-tensor is triply indexed, and so on.

Tensors also satisfy the obvious generalizations of the multiplication rules you've learned for vectors and matrices. Anyone who claims they are more complicated than this has no idea what they're talking about.

lostmypassword
lostmypassword

So I think I understand the difference. My question now is what are the most common ranks of tensors? It seems to me usefulness drops off as rank increases

Playboyize
Playboyize

is there an analog of tensors for nonlinear? is that a useful concept?

PackManBrainlure
PackManBrainlure

Tensors are cooler because tensor spaces can be constructed for arbitrary modules while matrices only represent something meaningful in the context of free modules.

Flameblow
Flameblow

It seems to me usefulness drops off as rank increases
This is true. You'll never see any useful tensors above rank 4.

VisualMaster
VisualMaster

No not really. The point behind the tensor product is to be the "right" notion of combing two vector spaces. So the whole point of the tensor product is linearity.

i.e. Given two vector spaces V and W, the tensor product V⊗W is uniquely characterized by the fact, for any vector space P, every bilinear map VxW-->P factors through a linear map V⊗W-->P.
(All over the same field of course)

Defining a (p,q)-tensor (on a vector space V) as an element of V*⊗...⊗V*⊗V⊗...⊗V , the tensor product of p-copies of V* and q copies of V. The above universal property makes it clear that a (p,q)-tensor should be characterized as a multilinear map
T: V*x...xV*xVx...xV--->F , where F is the underlying field.

TechHater
TechHater

2 (because matrices...)
3 (because they represent bilinear maps between vector spaces)
4 (because of curvature)
then, n

no, it doesn't make sense. a multilinear map between vector spaces may be represented by a tensor because it is defined by its values at basis vectors (ie. finitely many numbers). there's no reason to expect that a map with no structure at all could have a simple representation. that being said, the local behavior of smooth maps between open subsets of euclidean space is partially determined by tensors: the jacobian, the hessian, etc.

dumb remark

eGremlin
eGremlin

This is unrelated, but what does "tensor" mean in the context of Google's TensorFlow and Tensor Processing Units?

AwesomeTucker
AwesomeTucker

The same tensors as in OP you mong, it's literally on TensorFlow's wiki page:
The name TensorFlow derives from the operations that such neural networks perform on multidimensional data arrays. These arrays are referred to as "tensors"

StrangeWizard
StrangeWizard

You're the brainlet here.

Stupidasole
Stupidasole

Is tensor just the patrician term for matrix?
I would say every matrix is a tensor but not every tensor is a matrix.

Also, the Cauchy stress tensor is not a matrix, even though for practical purposes we treat it as such,

BlogWobbles
BlogWobbles

tensors and basically n dimensional matrices

LuckyDusty
LuckyDusty

A tensor is an ndarray.

Need_TLC
Need_TLC

You seem like someone who knows about continuum mechanics, could you help me with some of the terminology that's confusing me?

You can have nonlinear stress tensors, right?
But we're talking about tensors if they describe multilinear mappings

Are ie nonlinear stress measures still linear mappings in some way?

AwesomeTucker
AwesomeTucker

CS BTFO

Gigastrength
Gigastrength

Matrices form groups as well as rings.

GoogleCat
GoogleCat

Tensors obey the tensor transformation law. Matrices only do this sometimes... when they are rank (0,2) tensors.

Nojokur
Nojokur

physicists pls go away

Deadlyinx
Deadlyinx

you mean numpy user :^)

Harmless_Venom
Harmless_Venom

wrong, they're (1,1)

FastChef
FastChef

Is tensor just the patrician term for matrix?
No. Tensor is an abstract term that doesn't have to describe just matrices.
What is the difference between a tensor and a matrix?
The same as with a 1xn row matrix and a vector. Vector is an abstract term. A row matrix is one example of a representation of a vector. But a vector can also be represented by arrows (sometimes called euclidean/spatial/geometric vectors). Anything that obeys certain rules can be called a vector. Those rules say that vectors are objects that may be added with another vectors or multiplied by scalar values. Both row matrices and arrows obey those rules, so they can be called vectors.
If you make your slaves somehow obey those rules, then they can be called vectors too. Same with tensors.

Raving_Cute
Raving_Cute

What is the difference between a tensor and a matrix?
a matrix is something you had in your linear algebra course and tensor is something you didn't menage to reach

Disable AdBlock to view this page

Disable AdBlock to view this page

Confirm your age

This website may contain content of an adult nature. If you are under the age of 18, if such content offends you or if it is illegal to view such content in your community, please EXIT.

Enter Exit

About Privacy

We use cookies to personalize content and ads, to provide social media features and to analyze our traffic. We also share information about your use of our site with our advertising and analytics partners.

Accept Exit