Expand description
Matrix operations from scratch.
Provides a Matrix type with arithmetic (add, sub, mul, scalar),
transpose, determinant via Gaussian elimination, inverse, and
linear system solving (Ax = b).
Structs§
- Cholesky
- Cholesky decomposition
A = L · Lᵀfor a symmetric positive-definite matrix. Holds the lower-triangularLfactor. - Eigen
Pair - A converged power-iteration result:
(λ, v)wherevis the eigenvector corresponding to the dominant eigenvalueλ. - Lu
- A row-major LU decomposition of a square matrix.
- Matrix
- A row-major
f64matrix. - Power
Iter Options - Options for
Matrix::power_iteration. - Svd
- Singular Value Decomposition:
A = U · Σ · Vᵀfor anym × nmatrix (possibly rectangular). The columns ofuare the left singular vectors,singular_valuesare the diagonal ofΣ(in descending order), and the columns ofvare the right singular vectors.