Files
mlpack/fastlib/branches/fastlib-old/u/niche/functional/objective_function.m
T
Ryan Curtin f6864dd435 Move fastlib-old (originally 'fastlib') to fastlib/branches/fastlib-old where it
will sit until the end of time and nobody will touch it because it's old
2010-01-31 22:31:55 +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;