# Linear algebra functions

Matrices and vectors: determinants, inverses, eigenvalues and eigenvectors, decompositions such as LU, Cholesky and Jordan, norms, null spaces and products.

44 functions

## Described functions

- [det](https://hilberon.com/library/det)

  Determinant of a square matrix.
- [inverse](https://hilberon.com/library/inverse)

  Inverse of a square matrix.
- [eigenvalues](https://hilberon.com/library/eigenvalues)

  Eigenvalues of a square matrix.
- [cross](https://hilberon.com/library/cross)

  Cross product of two vectors in three dimensions.
- [dot](https://hilberon.com/library/dot)

  Dot product of two vectors, or product of two matrices.
- [eigenvectors](https://hilberon.com/library/eigenvectors)

  Eigenvectors of a square matrix, one for each eigenvalue.
- [identity_matrix](https://hilberon.com/library/identity_matrix)

  Identity matrix of a given size.
- [norm](https://hilberon.com/library/norm)

  Length of a vector.
- [null_space](https://hilberon.com/library/null_space)

  A basis of the null space of a matrix: the vectors v with A v = 0.
- [rank](https://hilberon.com/library/rank)

  Rank of a matrix: the number of independent rows.
- [row_reduce](https://hilberon.com/library/row_reduce)

  Reduced row echelon form of a matrix.
- [transpose](https://hilberon.com/library/transpose)

  Transpose of a matrix: its rows become its columns.
- [adjugate](https://hilberon.com/library/adjugate)

  Adjugate of a square matrix: the transpose of its cofactors.
- [characteristic_polynomial](https://hilberon.com/library/characteristic_polynomial)

  Characteristic polynomial of a square matrix in a variable.
- [cholesky_decomposition](https://hilberon.com/library/cholesky_decomposition)

  Cholesky decomposition of a symmetric positive definite matrix.
- [diagonal](https://hilberon.com/library/diagonal)

  The diagonal of a matrix, as a list.
- [diagonal_matrix](https://hilberon.com/library/diagonal_matrix)

  A matrix with the given list on its diagonal and zeros elsewhere.
- [eigensystem](https://hilberon.com/library/eigensystem)

  Eigenvalues and eigenvectors of a square matrix together: the values, then the vectors.
- [hilbert_matrix](https://hilberon.com/library/hilbert_matrix)

  Hilbert matrix of a given size: the entry in row i and column j is 1/(i + j - 1).
- [jordan_decomposition](https://hilberon.com/library/jordan_decomposition)

  Jordan decomposition of a square matrix: the matrix of generalized eigenvectors and the Jordan form.
- [jordan_form](https://hilberon.com/library/jordan_form)

  Jordan normal form of a square matrix.
- [kronecker_product](https://hilberon.com/library/kronecker_product)

  Kronecker product of two matrices.
- [lower_triangularize](https://hilberon.com/library/lower_triangularize)

  A matrix with the entries above the diagonal set to zero.
- [lu_decomposition](https://hilberon.com/library/lu_decomposition)

  LU decomposition of a matrix: the lower and upper factors and the row order.
- [matrix_exp](https://hilberon.com/library/matrix_exp)

  Exponential of a square matrix.
- [matrix_function](https://hilberon.com/library/matrix_function)

  A function of a square matrix.
- [matrix_log](https://hilberon.com/library/matrix_log)

  Logarithm of a square matrix.
- [matrix_power](https://hilberon.com/library/matrix_power)

  A square matrix to a whole power.
- [minors](https://hilberon.com/library/minors)

  The matrix of minors: the determinant left when each row and column is removed.
- [normalize](https://hilberon.com/library/normalize)

  A vector scaled to length 1.
- [orthogonalize](https://hilberon.com/library/orthogonalize)

  Orthonormal vectors spanning the same space as some vectors, by the Gram-Schmidt process.
- [pseudo_inverse](https://hilberon.com/library/pseudo_inverse)

  Moore-Penrose pseudo-inverse of a matrix.
- [qr_decomposition](https://hilberon.com/library/qr_decomposition)

  QR decomposition of a matrix: an orthogonal factor and an upper triangular one.
- [schur_decomposition](https://hilberon.com/library/schur_decomposition)

  Schur decomposition of a square matrix: an orthogonal factor and an upper triangular one.
- [singular_value_decomposition](https://hilberon.com/library/singular_value_decomposition)

  Singular value decomposition of a matrix: two orthogonal factors and the singular values.
- [singular_value_list](https://hilberon.com/library/singular_value_list)

  The singular values of a matrix.
- [smith_decomposition](https://hilberon.com/library/smith_decomposition)

  Smith normal form of an integer matrix, with the two matrices that reach it.
- [tensor_product](https://hilberon.com/library/tensor_product)

  Tensor product of two lists or matrices.
- [trace](https://hilberon.com/library/trace)

  Trace of a square matrix: the sum of its diagonal.
- [upper_triangularize](https://hilberon.com/library/upper_triangularize)

  A matrix with the entries below the diagonal set to zero.

## More functions in this category

Nobody has described these yet: each is listed with its first form.

- [inner](https://hilberon.com/library/inner)
- [matrix_d](https://hilberon.com/library/matrix_d)
- [matrix_symbol](https://hilberon.com/library/matrix_symbol)
- [outer](https://hilberon.com/library/outer)

## Other categories

- [Abstract algebra](https://hilberon.com/library/category/abstract-algebra) 55
- [Algebra](https://hilberon.com/library/category/algebra) 52
- [Assumptions](https://hilberon.com/library/category/assumptions) 10
- [Calculus](https://hilberon.com/library/category/calculus) 21
- [Differential and difference equations](https://hilberon.com/library/category/differential-and-difference-equations) 187
- [Elementary functions](https://hilberon.com/library/category/elementary-functions) 34
- [Equation solving](https://hilberon.com/library/category/equation-solving) 15
- [Lists](https://hilberon.com/library/category/lists) 52
- [Logic and comparison](https://hilberon.com/library/category/logic-and-comparison) 45
- [Number theory](https://hilberon.com/library/category/number-theory) 53
- [Numerical computation](https://hilberon.com/library/category/numerical-computation) 5
- [Optimization](https://hilberon.com/library/category/optimization) 6
- [Presentation](https://hilberon.com/library/category/presentation) 7
- [Probability and stochastic processes](https://hilberon.com/library/category/probability-and-stochastic-processes) 73
- [Programming](https://hilberon.com/library/category/programming) 43
- [Series and sums](https://hilberon.com/library/category/series-and-sums) 17
- [Special functions](https://hilberon.com/library/category/special-functions) 95
- [Strings](https://hilberon.com/library/category/strings) 4
- [Transforms](https://hilberon.com/library/category/transforms) 15
- [Trigonometry](https://hilberon.com/library/category/trigonometry) 28

---
Source: https://hilberon.com/library/category/linear-algebra
