view flat_index.m @ 219:f66513508c75 feature/beams

Merged with feature/grids.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 27 Jun 2016 13:26:02 +0200
parents 48b6fb693025
children
line wrap: on
line source

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