Mercurial > repos > public > sbplib
view pointIndex.m @ 1217:a3d9567d9004 feature/d2_compatible
Improve efficiency of construction of D2(b) by precomputing as much as possible
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 13 Nov 2019 14:54:22 -0800 |
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