# 矩阵的行简化（Row reduction of a matrix，row_reduce）

矩阵的行简化阶梯形。

## 怎么写

### row_reduce(matrix)

**matrix**

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

## 示例

- $\displaystyle \operatorname{rref} \begin{pmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{pmatrix} = \begin{pmatrix} 1 & 0 & -1 \\ 0 & 1 & 2 \end{pmatrix}$

  `row_reduce([[1, 2, 3], [4, 5, 6]])`

  在求解器中，`row_reduce([[1, 2, 3], [4, 5, 6]])` 的结果是 `[[1, 0, -1], [0, 1, 2]]`。

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

## 相关函数

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

  方阵的 Schur 分解：一个正交因子和一个上三角因子。
- [rank](https://zh.hilberon.com/library/rank)

  矩阵的秩：线性无关的行数。
- [singular_value_decomposition](https://zh.hilberon.com/library/singular_value_decomposition)

  矩阵的奇异值分解：两个正交因子和奇异值。
- [qr_decomposition](https://zh.hilberon.com/library/qr_decomposition)

  矩阵的 QR 分解：一个正交因子和一个上三角因子。
- [singular_value_list](https://zh.hilberon.com/library/singular_value_list)

  矩阵的奇异值。
- [pseudo_inverse](https://zh.hilberon.com/library/pseudo_inverse)

  矩阵的 Moore-Penrose 伪逆。

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