view flat_index.m @ 115:1fe783681f9f

noname.benchmark: added deafult value to do_profile.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 14 Dec 2015 19:07:36 +0100
parents 48b6fb693025
children
line wrap: on
line source

function I = flat_index(n,i,j)
    I = i + (j - 1)*n;
end