pub fn spectral_function<F: Fn(C) -> C>(f: F, z: C) -> C
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.
f
z
1E-12
i[f(z+i*eps)-f(z-i*eps)]/2pi