Expand description
Dynamic-size, caller-owned-buffer decompositions (nalgebra-parity, zero-heap).
Cholesky decomposition A = L·Lᵀ for symmetric positive-definite matrices.
Functionality parity with nalgebra’s linalg::cholesky, implemented in the
qualia idiom: zero allocation, operating on caller-owned row-major
slices with explicit dimension. No DMatrix, no heap, no dependency.
Cholesky is the fast, numerically-stable path for SPD systems (covariance solves, least-squares normal equations, Kalman updates, interior-point steps).
Functions§
- cholesky_
determinant - Determinant of an SPD matrix from its Cholesky factor:
det(A) = Π L[i][i]². - cholesky_
factor - Compute the lower-triangular Cholesky factor
Lof then×nsymmetric positive-definite matrixa(row-major), writingLrow-major intol(lower triangle filled, strictly-upper zeroed).aandlmust each be lengthn*n. - cholesky_
solve - Solve
A·x = bfor SPDA, given its Cholesky factorl(fromcholesky_factor): forward-substituteL·y = b, then back-substituteLᵀ·x = y.lisn*n;bandxare lengthn. The solution is written intox(which is also used as scratch fory).