Skip to main content

cauchy_derivative

Function cauchy_derivative 

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

The n-th derivative f⁽ⁿ⁾(z0) of an analytic function by Cauchy’s integral formula, n!/(2πi) ∮ f(z)/(z - z0)^{n+1} dz, over a circle of the given radius inside the region where f is analytic.