
Best way to format a 'general matrix'? (See image)
This figure is from a Lin Alg textbook used in my uni and I'm trying to see how to format this in LaTeX. In the typical array environment, specifying the cols argument to get the vertical lines seems doable, but I'm not able to find out how to perfectly align the text, and also get the lines in the matrix right while also get the large 0 as an element.