Home > freetb4matlab > geometry > dsearchn.m

dsearchn

PURPOSE ^

% Returns the index @var{idx} or the closest point in @var{x} to the elements

SYNOPSIS ^

function [idx, d] = dsearchn (x, t, xi, outval)

DESCRIPTION ^

% -*- 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

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003