# minors function

The matrix of minors: the determinant left when each row and column is removed.

## How to write it

### minors(matrix)

**matrix**

A square matrix. Takes a matrix, written as a list of rows.

## Examples

- $\displaystyle \operatorname{minors}\left(\begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}\right) = \begin{pmatrix} 4 & 3 \\ 2 & 1 \end{pmatrix}$

  `minors([[1, 2], [3, 4]])`

  In the solver, `minors([[1, 2], [3, 4]])` gives `[[4, 3], [2, 1]]`.

  [Open in the solver](https://hilberon.com/?q=minors%28%5B%5B1%2C%202%5D%2C%20%5B3%2C%204%5D%5D%29)

## Related functions

- [norm](https://hilberon.com/library/norm)

  Length of a vector.
- [matrix_power](https://hilberon.com/library/matrix_power)

  A square matrix to a whole power.
- [normalize](https://hilberon.com/library/normalize)

  A vector scaled to length 1.
- [matrix_log](https://hilberon.com/library/matrix_log)

  Logarithm of a square matrix.
- [null_space](https://hilberon.com/library/null_space)

  A basis of the null space of a matrix: the vectors v with A v = 0.
- [matrix_function](https://hilberon.com/library/matrix_function)

  A function of a square matrix.

---
Source: https://hilberon.com/library/minors
