Nonlinear response function for time-domain and