Expand description
Linear algebra routines
Structs§
Functions§
- decompose_
hessenberg_ 3 - Returns matrices
(q, h)of the decompositionm = qhq^Twhereqis an orthogonal matrix andhis an upper-Hessenberg matrix. - decompose_
schur_ 3 - Returns matrices
(q, u)of the decompositionh = quq^{-1}whereqis an orthogonal matrix anduis 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.