view timeTask.m @ 426:29944ea7674b feature/quantumTriangles

Updated the Shrodinger scheme to the new operator syntax
author Ylva Rydin <ylva.rydin@telia.com>
date Wed, 25 Jan 2017 17:14:17 +0100
parents 5cb99f56f55e
children 1afd33f719df
line wrap: on
line source

function done = timeTask(taskName)
    fprintf('%s', taskName);
    tStart = tic;

    function done_fun()
        fprintf(' - done %fs\n', toc(tStart));
    end
    done = @done_fun;
end