view flat_index.m @ 1257:4d472d020ccf feature/FMMlabb

Assert that the inner radius is positive
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Wed, 12 Feb 2020 13:27:27 +0100
parents 48b6fb693025
children
line wrap: on
line source

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