uniform_kernel(GeneratorType *g, ReturnType a, ReturnType b)
     : g(*g), d_real(a.real(), b.real()), d_imag(a.imag(), b.imag()) {}