view flat_index.m @ 178:77e9f0a85862 feature/grids

Removed some grid information from Scheme.
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 29 Feb 2016 14:56:51 +0100
parents 48b6fb693025
children
line wrap: on
line source

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