% % integrand called by Ggen % function y = integrand(s) global GKERNEL SPDATA y = feval(GKERNEL,s) .* fnval(SPDATA,s);