Clean mathematical notation of a for-loop
问题 I am sorry if this doesn't really belong here but I'm looking for a way to describe the mathematical background of my code. Using numpy I sum two more dimensional arrays: a.shape = (10, 5, 2) b.shape = (5, 2) c = a + b c.shape = (10, 5, 2) Is there a pure mathematical notation for this (so WITHOUT indroducing for-loops or numpy conventions in my text)? What I'm trying to avoid is to have to write something like this: c_{1, y, z} = a_{1, y, z} + b_{y, z} c_{2, y, z} = a_{2, y, z} + b_{y, z} ..