# 逆矩阵（Matrix inverse，inverse）

方阵的逆矩阵。

使用这个函数时，求解器只要找到步骤就会展示。

## 怎么写

### inverse(matrix)

**matrix**

一个矩阵，写成行列表。接受一个矩阵，写作行组成的列表。

## 示例

- $\displaystyle \begin{pmatrix} 1 & 2 \\ 3 & 4 \end{pmatrix}^{-1} = \begin{pmatrix} -2 & 1 \\ \frac{3}{2} & -\frac{1}{2} \end{pmatrix}$

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

  在求解器中，`inverse([[1, 2], [3, 4]])` 的结果是 `[[-2, 1], [3/2, -1/2]]`。

  [在求解器中打开](https://zh.hilberon.com/?q=inverse%28%5B%5B1%2C%202%5D%2C%20%5B3%2C%204%5D%5D%29)

## 相关函数

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

  矩阵的 Moore-Penrose 伪逆。
- [jordan_decomposition](https://zh.hilberon.com/library/jordan_decomposition)

  方阵的 Jordan 分解：广义特征向量构成的矩阵与 Jordan 标准形。
- [identity_matrix](https://zh.hilberon.com/library/identity_matrix)

  给定大小的单位矩阵。
- [jordan_form](https://zh.hilberon.com/library/jordan_form)

  方阵的 Jordan 标准形。
- [hilbert_matrix](https://zh.hilberon.com/library/hilbert_matrix)

  给定大小的 Hilbert 矩阵：第 i 行第 j 列的元素为 1/(i + j - 1)。
- [kronecker_product](https://zh.hilberon.com/library/kronecker_product)

  两个矩阵的 Kronecker 积。

---
Source: https://zh.hilberon.com/library/inverse
