跳转到内容

This page is also in English.

Read it in English

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

Léela en español

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

日本語で読む

奇异值分解(Singular value decomposition,singular_value_decomposition)

矩阵的奇异值分解:两个正交因子和奇异值。

怎么写

singular_value_decomposition(matrix)

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

示例

  • singular_value_decomposition⁡((2001))=[(1001),(2001),(1001)]\displaystyle \operatorname{singular\_value\_decomposition}\left(\begin{pmatrix} 2 & 0 \\ 0 & 1 \end{pmatrix}\right) = \left[ \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}, \begin{pmatrix} 2 & 0 \\ 0 & 1 \end{pmatrix}, \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} \right]
    singular_value_decomposition([[2, 0], [0, 1]])

    在求解器中,singular_value_decomposition([[2, 0], [0, 1]]) 的结果是 [[[1, 0], [0, 1]], [[2, 0], [0, 1]], [[1, 0], [0, 1]]]。

    在求解器中打开