跳转到内容

This page is also in English.

Read it in English

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

LU 分解(LU decomposition,lu_decomposition)

矩阵的 LU 分解:下三角因子、上三角因子和行顺序。

怎么写

lu_decomposition(matrix)

matrix
一个方阵。接受一个矩阵,写作行组成的列表。

示例

  • lu_decomposition⁡((4363))=[(10231),(6301),[2,1]]\displaystyle \operatorname{lu\_decomposition}\left(\begin{pmatrix} 4 & 3 \\ 6 & 3 \end{pmatrix}\right) = \left[ \begin{pmatrix} 1 & 0 \\ \frac{2}{3} & 1 \end{pmatrix}, \begin{pmatrix} 6 & 3 \\ 0 & 1 \end{pmatrix}, \left[ 2, 1 \right] \right]
    lu_decomposition([[4, 3], [6, 3]])

    在求解器中,lu_decomposition([[4, 3], [6, 3]]) 的结果是 [[[1, 0], [2/3, 1]], [[6, 3], [0, 1]], [2, 1]]。

    在求解器中打开