Return the index idx of the closest point in x to the elements xi.
If outval is supplied, then the values of xi that are not
contained within one of the simplices tri are set to outval.
Generally, tri is returned from delaunayn (x)
.
See also: dsearch, tsearch.
Package: octave