Skip to main content

eigsh_with_workspace

Function eigsh_with_workspace 

Source
pub fn eigsh_with_workspace<O>(
    operator: &O,
    options: EigshOptions,
    workspace: &mut EigshWorkspace,
) -> Result<Eigensystem>
where O: LinearOperator + ?Sized,
Expand description

Solve one member of a related operator family and update its reusable invariant-subspace workspace.

A compatible workspace retains all previously converged vectors. Small restart windows preserve them as a thick subspace; the cheaper large-window tridiagonal route forms a balanced warm start without replacing the generic Lanczos algorithm.