コンテンツへスキップ

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)

行列の特異値分解。2つの直交因子と特異値。

書き方

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]]] です。

    ソルバーで開く