Skip to main content

residue

Function residue 

Source
pub fn residue(
    f: impl Fn(C64) -> C64,
    z0: C64,
    radius: f64,
    tol: f64,
) -> Result<C64, ErrorsJSL>
Expand description

The residue of f at z0: (1/2πi) ∮ f(z) dz over a counter-clockwise circle of the given radius. The circle must enclose z0 and no other singularity of f.