Navigation

Operators and Keywords

Function List:

C++ API

: idx = dsearchn (x, tri, xi)
: idx = dsearchn (x, tri, xi, outval)
: idx = dsearchn (x, xi)
: [idx, d] = dsearchn (…)

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