Mercurial > repos > public > sbplib
view timeTask.m @ 912:1cdf5ead2a16 feature/utux2D
Refactor interface method for Schrodinger2d
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sun, 25 Nov 2018 19:46:39 -0800 |
parents | 1afd33f719df |
children |
line wrap: on
line source
function done = timeTask(fmt, varargin) fprintf(fmt, varargin{:}); tStart = tic; function done_fun() fprintf(' - done %fs\n', toc(tStart)); end done = @done_fun; end