p-matrix