view pointIndex.m @ 1053:6f8d2fd0d412 feature/getBoundaryOp

Close branch feature/getBoundaryOp
author Jonatan Werpers <jonatan.werpers@it.uu.se>
date Thu, 24 Jan 2019 08:29:50 +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