##  Class files

This is the 16th video in a series of 21 by Dr Vincent Knight of Cardiff University. In this video, Vince shows how to quickly write out matrices in LaTeX, using the amsmath package and the \pmatrix (for a matrix with curly brackets), \matrix (for a matrix with no brackets), and \vmatrix (used to denote the determinant of a matrix) commands. Here's the code for the final example: $$\begin{vmatrix} a&b\\ c&d\\ e&f\\ \end{vmatrix}$$ The example above (also shown in the video) is also provided here as a template. To try this for yourself, click here to open the 'Matrices' example.