Restriction matrices for numerically exploiting symmetry