view flat_index.m @ 752:0be9b4d6737b feature/utux2D

Merge with feature/interpolation to get new interpolation operators.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 22 May 2018 13:31:09 -0700
parents 48b6fb693025
children
line wrap: on
line source

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