function [ G ] = gradient_NLS_example( x )
% [ G ] = gradient_NLS_example( x )returns the gradient of the least
% squares function corresponding to the simple nonlinear least squares
% fitting problem in Chapter 8 of Ackleh and Kearfott, "Applied Numerical
% Methods."

F = F_nonlinear_LS_example(x);
Fp = F_prime_nonlinear_LS_example(x);
G = Fp'*F;

end

