Task: Given a 1D numpy array $x$, produce the 2D numpy array $D$ whose entries are $$ D_{ij} = x_i - x_j $$ in one line of code.
import numpy as np x = np.random.rand(5)