% -*- texinfo -*- % @deftypefn {Function File} {@var{idx} =} dsearchn (@var{x}, @var{tri}, @var{xi}) % @deftypefnx {Function File} {@var{idx} =} dsearchn (@var{x}, @var{tri}, @var{xi}, @var{outval}) % @deftypefnx {Function File} {@var{idx} =} dsearchn (@var{x}, @var{xi}) % @deftypefnx {Function File} {[@var{idx}, @var{d}] =} dsearchn (@dots{}) % Returns the index @var{idx} or the closest point in @var{x} to the elements % @var{xi}. If @var{outval} is supplied, then the values of @var{xi} that are % not contained within one of the simplicies @var{tri} are set to % @var{outval}. Generally, @var{tri} is returned from @code{delaunayn % (@var{x})}. % @seealso{dsearch, tsearch} % @end deftypefn