Using einsum notation, return the outer product of vectors A and B: an (len(A), len(B)) matrix whose [i, j] entry is A[i] * B[j].
A
B
(len(A), len(B))
[i, j]
A[i] * B[j]
solve(...)