view pointIndex.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 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