view pointIndex.m @ 956:d6ede7f5cbf9

Add todo in CdiffImplicit
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 11 Dec 2018 11:21:25 +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