//! Linear-algebra primitives shared by the sim and fit layers.
/// Lower Cholesky factor of a symmetric PSD `q×q` matrix (row-major in/out).
/// validate() guarantees PSD, so a zero pivot is treated as exact 0 (its
/// below-diagonal column entries become 0).