Module linear

Module linear 

Source
Expand description

Linear algebra routines

Structs§

UpperHessenberg3

Functions§

decompose_hessenberg_3
Returns matrices (q, h) of the decomposition m = qhq^T where q is an orthogonal matrix and h is an upper-Hessenberg matrix.
decompose_schur_3
Returns matrices (q, u) of the decomposition h = quq^{-1} where q is an orthogonal matrix and u is an upper quasi-triangular matrix
eigensystem_2
Return the (real-valued) eigenvalues and eigenvectors (eigenpairs) of a diagonalizable 2x2 matrix.
eigensystem_3
Return the (real-valued) eigenvalues and eigenvectors (eigenpairs) of a diagonalizable 3x3 matrix.
eigensystem_3_classical
Return the (real-valued) eigenvalues and eigenvectors (eigenpairs) of a diagonalizable 3x3 matrix as computed by the classical method of computing the roots of the characteristic polynomial. Note that the root-finding problem is ill-conditioned so this may not return accurate results.
row_reduce3
Reduce a 3x3 matrix to row echelon form using Gaussian elimination
solve_system_2_homogeneous
Solve a 2D homogeneous system of linear equations represented by the matrix equation Ax = 0.
solve_system_3_homogeneous
Solve a 3D homogeneous system of linear equations represented by the matrix equation Ax = 0.