view flat_index.m @ 1245:0a1c64d3c717 feature/dirac_discr

Avoid indentation of whole function
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 20 Nov 2019 20:30:45 +0100
parents 48b6fb693025
children
line wrap: on
line source

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