Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

jordan_decomposition function

Jordan decomposition of a square matrix: the matrix of generalized eigenvectors and the Jordan form.

How to write it

jordan_decomposition(matrix)

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

Examples

  • jordan_decomposition⁡((2102))=[(1001),(2102)]\displaystyle \operatorname{jordan\_decomposition}\left(\begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix}\right) = \left[ \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix}, \begin{pmatrix} 2 & 1 \\ 0 & 2 \end{pmatrix} \right]
    jordan_decomposition([[2, 1], [0, 2]])

    In the solver, jordan_decomposition([[2, 1], [0, 2]]) gives [[[1, 0], [0, 1]], [[2, 1], [0, 2]]].

    Open in the solver