Lukas' Notes

linear-algebra

Definition

Free Index (Einstein Notation)

A free index is an index that appears exactly once in an Einstein notation term. It is not summed over and becomes an axis of the output.

Examples

Example

In , the free indices are and . The output has shape because and .

The set of free indices determines the output type: zero free indices → scalar, one → vector, two → matrix, and so on.