Mercurial > octave
comparison scripts/geometry/dsearchn.m @ 30194:d603f1229301
maint: merge stable to default.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 17 Sep 2021 12:46:59 -0700 |
parents | 7854d5752dd2 6cc5315cdf2f |
children | 796f54d4ddbf |
comparison
equal
deleted
inserted
replaced
30192:8c8031be8072 | 30194:d603f1229301 |
---|---|
32 ## @var{xi}. | 32 ## @var{xi}. |
33 ## | 33 ## |
34 ## If @var{outval} is supplied, then the values of @var{xi} that are not | 34 ## If @var{outval} is supplied, then the values of @var{xi} that are not |
35 ## contained within one of the simplices @var{tri} are set to @var{outval}. | 35 ## contained within one of the simplices @var{tri} are set to @var{outval}. |
36 ## Generally, @var{tri} is returned from @code{delaunayn (@var{x})}. | 36 ## Generally, @var{tri} is returned from @code{delaunayn (@var{x})}. |
37 ## | |
38 ## The optional output @var{d} contains a column vector of distances between | |
39 ## the query points @var{xi} and the nearest simplex points @var{x}. | |
40 ## | |
37 ## @seealso{dsearch, tsearch} | 41 ## @seealso{dsearch, tsearch} |
38 ## @end deftypefn | 42 ## @end deftypefn |
39 | 43 |
40 function [idx, d] = dsearchn (x, tri, xi, outval) | 44 function [idx, d] = dsearchn (x, tri, xi, outval) |
41 | 45 |