Description Usage Arguments Value Note Author(s) See Also
For t = delaunayn(x)
, where x
is a set of points in d
dimensions, tsearchn(x, t, xi)
finds the index in t
containing the points xi
. For points outside the convex hull,
idx
is NA
. tsearchn
also returns the barycentric
coordinates p
of the enclosing triangles.
1 |
x |
An |
t |
A |
xi |
An |
fast |
If the data is in 2D, use the fast C-based |
A list containing:
list("idx") |
An |
list("p") |
An |
Based on the Octave function Copyright (C) 2007-2012 David Bateman.
David Sterratt
tsearch, delaunayn
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.