Common Operations in This Notation
In Einstein notation, the usual element reference for the mth row and nth column of matrix A becomes . We can then write the following operations in Einstein notation as follows.
- Inner product (hence also Vector dot product)
Using an orthogonal basis, the inner product is the sum of corresponding components multiplied together:
This can also be calculated by multiplying the covector on the vector.
- Vector cross product
Again using an orthogonal basis (in 3d) the cross product intrisically involves summations over permutations of components:
where
and is the Levi-Civita symbol.
- Matrix multiplication
The matrix product of two matrices and is:
equivalent to
- Trace
For a square matrix, the trace is the sum of the diagonal elements, hence the sum over a common index .
- Outer product
The outer product of the column vector by the row vector yields an m×n matrix A:
Since i and j represent two different indices, there is no summation and the indices are not eliminated by the multiplication.
Read more about this topic: Einstein Notation
Famous quotes containing the words common and/or operations:
“Education is the point at which we decide whether we love our children enough not to expel them from our world and leave them to their own devices, not to strike from their hands their chance of undertaking something newbut to prepare them in advance for the task of renewing a common world.”
—Hannah Arendt (20th century)
“You cant have operations without screams. Pain and the knifetheyre inseparable.”
—Jean Scott Rogers. Robert Day. Mr. Blount (Frank Pettingell)