view flat_index.m @ 521:bcddbc2beef4

Add a symmetric surf
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 28 Aug 2017 14:28:45 +0200
parents 48b6fb693025
children
line wrap: on
line source

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