Files
mlpack/fastlib/u/niche/functional/objective_function.m
T
2007-11-15 18:20:34 +00:00

7 lines
150 B
Matlab

% objective_function() - an objective function
function C = objective_function(x, a);
% C = x.^4 - 100 * x.^3 - 1000 * x.^2 - x + 1;
C = (a - x)^2;