spectral_function

Function spectral_function 

Source
pub fn spectral_function<F: Fn(C) -> C>(f: F, z: C) -> C
Expand description

Computes the spectral function of f at point z numerically with an epsilon of 1E-12. The spectral function is defined as i[f(z+i*eps)-f(z-i*eps)]/2pi.