Skip to main content

mini_pole_dlr

Function mini_pole_dlr 

Source
pub fn mini_pole_dlr<T>(
    al: &TypedTensor<T>,
    xl: &[f64],
    beta: f64,
    params: &MiniPoleDlrParams,
) -> Result<MiniPoleResult>
where T: TensorScalar + Copy + Into<Complex<f64>>,
Expand description

Minimal pole representation of G(z) = Σ_l A_l / (z - x_l).

al has shape [r, ...] (residues along axis 0, trailing channel axes), xl the r real pole locations.

§Errors

Error::ShapeMismatch if al does not have len(xl) rows, Error::InvalidParameter for invalid parameters, and ESPRIT errors.