|
|
|
|
|
by JWKennington
2594 days ago
|
|
Slight nit-pick, but matrix multiplication is not exclusively a contraction, but rather a contraction on the tensor product of the two matrices. See the next paragraph for why this is concerning. I find this notation great for simple applications, but potentially unwieldy for dim > 2. For instance, how would I represent the tensor (or outer) product of two matrices? the inputs would be two circles with two lines attached to each, the result would need to be a single circle with four lines attached. The natural attempt would be something like: a - o -
/ /
| /
\ |
ab ---o---
| \
/ |
/ /
b - o -
But I suspect the above diagram isn't correct because there are no "open" indices at the end of this. Rather, this diagram seems to represent the contraction of a 4D tensor with 2, 2D tensors.It seems we we would need a way of connecting circles without implying a contraction of a particular index. Anyone know how to annotate the outer product of two matrices in this diagrammatic convention? |
|