AP-SCE/Mex/a542.m

11 lines
248 B
Mathematica
Raw Normal View History

%function accepts 1 string, 2 double and increments
% a542("func_name", x, y, inc)
% function returns lowest found return of passed function
%
%exp.:
% function z=func(x,y)
% z=-(x*x + y*y);
% end
%
% a542("func",-2,-2, 0.1)
% ans=6.3838e-016