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:
“By common consent of all the nations and all the ages the most valuable thing in this world is the homage of men, whether deserved or undeserved.”
—Mark Twain [Samuel Langhorne Clemens] (18351910)
“Plot, rules, nor even poetry, are not half so great beauties in tragedy or comedy as a just imitation of nature, of character, of the passions and their operations in diversified situations.”
—Horace Walpole (17171797)