view flat_index.m @ 942:35701c85e356 feature/utux2D

Make Utux2D work with new interface type etc.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 04 Dec 2018 14:54:28 -0800
parents 48b6fb693025
children
line wrap: on
line source

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