pub fn sparse_eig_power(
a: &CsrMatrix,
tol: f64,
max_iter: usize,
) -> Option<(f64, Vec<f64>)>Expand description
Compute the dominant eigenvalue and eigenvector of a sparse matrix using the power method.
Returns (eigenvalue, eigenvector) or None if not converged.