Mercurial > repos > public > sbplib
view pointIndex.m @ 1220:4dc295afe473
Merged in feature/d2_compatible (pull request #15)
OpSet for fully compatible D2Variable
Approved-by: Vidar Stiernström <vidar.stiernstrom@it.uu.se>
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 13 Nov 2019 23:36:19 +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