Say we have three 1D arrays A (m elements), B (n elements) and C (k elements).
Is there any python numpy function that can take the above as input, and output a 3D matrix (dimension: m x n x k) whereby each entry indexed [i, j, k] is of value A[i] * B[j] * C[k] ?
np.outer(A, B) would work for 2D, but I'm looking for a 3D version.