Skip to content

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

Léela en español

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

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Cholesky decomposition (cholesky_decomposition)

Cholesky decomposition of a symmetric positive definite matrix.

How to write it

cholesky_decomposition(matrix)

matrix
A symmetric positive definite matrix. Takes a matrix, written as a list of rows.

Examples

  • cholesky_decomposition⁡((4223))=(2102)\displaystyle \operatorname{cholesky\_decomposition}\left(\begin{pmatrix} 4 & 2 \\ 2 & 3 \end{pmatrix}\right) = \begin{pmatrix} 2 & 1 \\ 0 & \sqrt{2} \end{pmatrix}
    cholesky_decomposition([[4, 2], [2, 3]])

    In the solver, cholesky_decomposition([[4, 2], [2, 3]]) gives [[2, 1], [0, sqrt(2)]].

    Open in the solver
  • smith_decomposition

    Smith normal form of an integer matrix, with the two matrices that reach it.

  • singular_value_decomposition

    Singular value decomposition of a matrix: two orthogonal factors and the singular values.

  • schur_decomposition

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

  • jordan_decomposition

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

  • qr_decomposition

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

  • lu_decomposition

    LU decomposition of a matrix: the lower and upper factors and the row order.