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([[2, 1], [0, 2]])In the solver,
Open in the solverjordan_decomposition([[2, 1], [0, 2]])gives[[[1, 0], [0, 1]], [[2, 1], [0, 2]]].
Related functions
- jordan_form
Jordan normal form of a square matrix.
- lu_decomposition
LU decomposition of a matrix: the lower and upper factors and the row order.
- cholesky_decomposition
Cholesky decomposition of a symmetric positive definite matrix.
- qr_decomposition
QR decomposition of a matrix: an orthogonal factor and an upper triangular one.
- schur_decomposition
Schur decomposition of a square matrix: an orthogonal factor and an upper triangular one.
- singular_value_decomposition
Singular value decomposition of a matrix: two orthogonal factors and the singular values.