pub fn determinant(n: usize, data: &[f64]) -> Result<f64, LinearAlgebraError>Expand description
Determinant of a row-major n×n matrix via LU decomposition — thin facade over the
engine determinant. O(n³), numerically robust; returns 0.0 for a singular matrix.