Skip to main content

ShiftedLinearSolver

Trait ShiftedLinearSolver 

Source
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).

Required Methods§

Source

fn solve(&self, input: &[Complex64], output: &mut [Complex64]) -> Result<()>

Provided Methods§

Source

fn supports_real(&self) -> bool

Source

fn solve_real(&self, _input: &[f64], _output: &mut [f64]) -> Result<()>

Implementors§