view pointIndex.m @ 1095:3b2acd1117b9 feature/laplace1dUpdate

Close branch feature/laplace1dUpdate
author Jonatan Werpers <jonatan.werpers@it.uu.se>
date Mon, 08 Apr 2019 20:15:37 +0000
parents bb079b39a7bb
children
line wrap: on
line source

% Get the index of the points p within the tall array of points ps
function [I, ok] = pointIndex(p, ps)
    [ok, I] = ismember(p,  ps, 'rows');
end