Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
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.
6
votes
Accepted
Efficient way to MapApply for Tensor
Note that f[#1, #2, #3, #4] & is just f—this substitution by itself saves some time—and that Apply (@@@) has a secret levelspec argument! You want {2}, i.e. Apply[f, ATensor, {2}].
Note also that you' …
2
votes
Accepted
Simplifying cross product expressions II
Note that you can give assumptions to TensorExpand:
TensorExpand[Cross[F3[R + 3 a], F[R + 4 a] - F2[R + 2 a]],
Assumptions -> {a \[Element] Reals}]
(* Out:
-F[R]\[Cross]F3[R] - 3 a F[R]\[Cross]De …
6
votes
Accepted
How to state nontrivial tensor symmetry assumptions?
From a small note in the documentation for Arrays,
The symmetry sym can be given in several forms. First, it can be given as expressions like Symmetric[{s_i, ..., s_k}] or Antisymmetric[{s_i,...,s …