The design matrix is an matrix where each row contains the basis function values for one data point:

This allows us to write all predictions compactly as instead of computing for each point individually.