Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

schur_decomposition function

Schur decomposition of a square matrix: an orthogonal factor and an upper triangular one.

How to write it

schur_decomposition(matrix)

matrix
A square matrix. Takes a matrix, written as a list of rows.

Examples

  • schur_decomposition⁡((1203))=[(1.00.00.01.0),(1.02.00.03.0)]\displaystyle \operatorname{schur\_decomposition}\left(\begin{pmatrix} 1 & 2 \\ 0 & 3 \end{pmatrix}\right) = \left[ \begin{pmatrix} 1.0 & 0.0 \\ 0.0 & 1.0 \end{pmatrix}, \begin{pmatrix} 1.0 & 2.0 \\ 0.0 & 3.0 \end{pmatrix} \right]
    schur_decomposition([[1, 2], [0, 3]])

    In the solver, schur_decomposition([[1, 2], [0, 3]]) gives [[[1.0, 0.0], [0.0, 1.0]], [[1.0, 2.0], [0.0, 3.0]]].

    Open in the solver