% TIMINGEVAL  Report timing of FASTEVAL and SLOWEVAL in an n = 30 case

a=randn(1,31);
x=-100.3424;

disp('SLOW:  doing the same thing 3 times to get good timing ...')
tic
for j=1:1000
  sloweval(a,x);
end
toc

tic
for j=1:1000
  sloweval(a,x);
end
toc

tic
for j=1:1000
  sloweval(a,x);
end
toc

disp('FAST:  doing the same thing 3 times to get good timing ...')
tic
for j=1:1000
  fasteval(a,x);
end
toc

tic
for j=1:1000
  fasteval(a,x);
end
toc

tic
for j=1:1000
  fasteval(a,x);
end
toc


