view flat_index.m @ 232:443b14ea705b feature/beams

scheme.Beam: changes to possibly better operators.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 12 Jul 2016 16:32:36 +0200
parents 48b6fb693025
children
line wrap: on
line source

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