Code covered by the BSD License  

Highlights from
OpenOpt

image thumbnail

OpenOpt

by

 

25 Nov 2006 (Updated )

nonSmoothSolve (similar to fsolve), non-smooth & noisy local + some global solvers; works in Octave

gpowers2(x, varargin)
function df = gpowers2(x, varargin)
global funcount
if isempty(funcount); funcount=0;end
funcount = funcount+1;
n = length(x);
df = 1.2 .^ (0:n-1)' .* sign(x);

Contact us