Given arrays A of shape (3, 1) and B of shape (1, 3), compute their broadcasted sum by iterating over matching elements one at a time (rather than relying on a single vectorized + expression), and return the (3, 3) result.
A
(3, 1)
B
(1, 3)
+
(3, 3)
solve(...)