testit

by

 

27 Feb 2011 (Updated )

Software testing functions (interface similar to Octave's).

cputime_res
function res = cputime_res
    % clock resolution:
    res = 0; while (res == 0), res = abs(cputime - cputime); end
end

%!test
%! res = cputime_res;

Contact us