Singular value decomposition (singular_value_decomposition)
Singular value decomposition of a matrix: two orthogonal factors and the singular values.
How to write it
singular_value_decomposition(matrix)
- matrix
- A matrix, written as a list of rows. Takes a matrix, written as a list of rows.
Examples
singular_value_decomposition([[2, 0], [0, 1]])In the solver,
Open in the solversingular_value_decomposition([[2, 0], [0, 1]])gives[[[1, 0], [0, 1]], [[2, 0], [0, 1]], [[1, 0], [0, 1]]].
Related functions
- singular_value_list
The singular values of a matrix.
- schur_decomposition
Schur decomposition of a square matrix: an orthogonal factor and an upper triangular one.
- smith_decomposition
Smith normal form of an integer matrix, with the two matrices that reach it.
- qr_decomposition
QR decomposition of a matrix: an orthogonal factor and an upper triangular one.
- cholesky_decomposition
Cholesky decomposition of a symmetric positive definite matrix.
- lu_decomposition
LU decomposition of a matrix: the lower and upper factors and the row order.