pub fn sparse_eig_smallest(
a: &CsrMatrix,
tol: f64,
max_iter: usize,
) -> Option<(f64, Vec<f64>)>Expand description
Compute the smallest eigenvalue of a sparse SPD matrix using inverse iteration (shift-and-invert with the ILU preconditioner).
Returns (eigenvalue, eigenvector) or None if not converged.