pub trait ComplexLinearOperator {
// Required methods
fn shape(&self) -> (usize, usize);
fn matvec(&self, x: &[Complex<f64>]) -> Vec<Complex<f64>>;
}Expand description
A complex linear operator x ↦ A x, for the complex Krylov solvers and as a preconditioner.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".