view pointIndex.m @ 1087:867307f4d80f feature/laplace_curvilinear_test

Improve comments in LaplCurve.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 29 Mar 2019 14:50:50 -0700
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