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

4 lines
109 B
Matlab

% test_opt() - play around with some optimization
function y = test_opt(x);
y = (x(1) - 1)^2 + (x(2) - 2)^2;