Skip to main content

cg_complex

Function cg_complex 

Source
pub fn cg_complex(
    a: &dyn ComplexLinearOperator,
    b: &[Complex<f64>],
    x0: Option<&[Complex<f64>]>,
    m: Option<&dyn ComplexLinearOperator>,
    options: ComplexIterativeOptions,
) -> Result<ComplexIterativeResult>
Expand description

Conjugate gradients for Hermitian positive definite A (SciPy’s cg on complex data), with the inner product ⟨x, y⟩ = xᴴ y.