New answers tagged tensors
4
votes
Accepted
How to define a Tensor with the symmetries like Riemann tensor?
The skew symmetries and the interchange symmetry can be implemented easily by specifying them as symmetry generators in SymmetrizedArray:
...
3
votes
Doing ArrayReshape in Mathematica doesn't give desired results
The array in matrix-form can sometimes be misleading, if you call the indexes of the tensor properly, you'll see that it's similar to other languages that use Row-Major ordering (e.g., Python) to ...
5
votes
Doing ArrayReshape in Mathematica doesn't give desired results
Try this:
Map[Transpose, ArrayReshape[a, {2, 2, 2, 2}]] // MatrixForm
Top 50 recent answers are included
Related Tags
tensors × 448matrix × 86
linear-algebra × 45
symbolic × 40
list-manipulation × 35
xact × 35
differential-geometry × 28
simplifying-expressions × 27
calculus-and-analysis × 26
performance-tuning × 24
physics × 22
vector × 20
vector-calculus × 17
table × 13
packages × 13
summation × 11
algebraic-manipulation × 10
array × 10
products × 9
equation-solving × 8
function-construction × 8
compile × 7
assumptions × 7
algebra × 7
differential-equations × 6