Integral-equation solution using coherent optical feedback