13.11 The matrix type

det()
The det() method returns the determinant of a square matrix.

diagonal()
The diagonal() method returns a boolean indicating whether a matrix is diagonal.

eigenvalues()
The eigenvalues() method returns a vector containing the eigenvalues of a square symmetric matrix.

eigenvectors()
The eigenvectors() method returns a list of the eigenvectors of a square symmetric matrix.

inv()
The inv() method returns the inverse of a square matrix.

size()
The size() method returns the dimensions of a matrix.

symmetric()
The symmetric() method returns a boolean indicating whether a matrix is symmetric.

transpose()
The transpose() method returns the transpose of a matrix.