# Questions tagged [tensors]

Use this tag for questions that involve tensors. Tensors are fundamental tools for linear computations, generalizing vectors and matrices to higher ranks. Mathematica 9 introduces powerful methods to algebraically manipulate tensors with any rank and symmetry.

363 questions
Filter by
Sorted by
Tagged with
44 views

133 views

### How to do $\bigotimes_{i=1}^n A_i$ where $A_i$ is a $m \times m$ matrix?

$$\bigotimes_{i=1}^n A_i$$ where $A_i$ is a $m \times m$ matrix. I want to do above operation, however KroneckerProduct in Mathematica must list all $A_i$...
100 views

### Is there a Collect for TensorProduct?

I would like Mathematica to use the property that the TensorProduct is distributive to simplify expressions like $A\otimes B+A\otimes C = A\otimes(B+C)$ Unfortunately neither Collect nor Simplify do ...
41 views

### How to make TensorProduct distributive? [closed]

Usually the tensorproduct is distributive: $A\otimes(B+C) = A\otimes B+A\otimes C$ But the Mathematica function TensorProduct does not seem to have this property. Both ...
27 views

### keep variables in the correct position when TensorExpand

I would like to expand a tensor expression of 3-d vectors. However, the code runs really slow, the problem is asked here: Why is TensorExpand so slow for vector operations? However, I found that by ...
82 views

### Abstract vector algebra with scalars

I am interested in expanding a vector expression in terms of the scalar parameter, but it doesn't give the expected result ...
150 views

### Why is TensorExpand so slow for vector operations?

I would like to expand the following tensor expression: ...
237 views

### How to simplify tensor expression with symbolic coeficients?

I can use Vectors to simplify the following expression: ...
127 views

### How to define a constraint implying covariant derivatives in XTensor/XAct?

I have two manifolds: M and M1 with metrics g and g1. ...
113 views

### How to change the dimension of a tensor inside a loop using XAct/XTensor?

I'd like to define a function CDOrder[k] to compute the k-th order covariant derivative of a vector ...
70 views

131 views

...
170 views

...
533 views

### Voigt notation in Mathematica

In the computational mechanics software (Abaqus, Ansys, Comsol, etc), Voigt notation is always used to represent a symmetric tensor by reducing its order. Now I would ask How can we get the Voigt ...
81 views

### Creat a matrix with boundary condition

I would creat a symmetric matrix, but how can I set the boundary in Subscript? ...