%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                                     %%
%%             The given inhomogeneous term            %%
%%       in the one-dimensional Poisson equation       %%
%%                                                     %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

function f_vals = gf1d_f(x_vals)

% evaluate the f values
f_vals=-2.*x_vals.*exp(-x_vals.^2);
