pub trait ShiftedLinearSolver: Send + Sync {
// Required method
fn solve(&self, input: &[Complex64], output: &mut [Complex64]) -> Result<()>;
// Provided methods
fn supports_real(&self) -> bool { ... }
fn solve_real(&self, _input: &[f64], _output: &mut [f64]) -> Result<()> { ... }
}Expand description
Reusable factorization of (A - shift I).