view flat_index.m @ 334:46462a6f8a5f feature/beams

Merge with default.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 18 Oct 2016 17:26:02 +0200
parents 48b6fb693025
children
line wrap: on
line source

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