Mercurial > hg > octave-lyh
diff scripts/geometry/dsearch.m @ 11469:c776f063fefe
Overhaul m-script files to use common variable name between code and documentation.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 12:41:21 -0800 |
parents | be55736a0783 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/geometry/dsearch.m +++ b/scripts/geometry/dsearch.m @@ -21,11 +21,11 @@ ## @deftypefnx {Function File} {@var{idx} =} dsearch (@var{x}, @var{y}, @var{tri}, @var{xi}, @var{yi}, @var{s}) ## Returns the index @var{idx} or the closest point in @code{@var{x}, @var{y}} ## to the elements @code{[@var{xi}(:), @var{yi}(:)]}. The variable @var{s} is -## accepted but ignored for compatibility. +## accepted for compatibility but is ignored. ## @seealso{dsearchn, tsearch} ## @end deftypefn -function idx = dsearch (x, y, t, xi, yi, s) +function idx = dsearch (x, y, tri, xi, yi, s) if (nargin < 5 || nargin > 6) print_usage (); endif