querytree
querytree(
@tree ## llll (required)
@point ## llll (required)
) -> int
Given a k-dimensional tree and a target point with the same dimensionality, returns the index position of the nearest neighbor in that tree. See createtree
.
Arguments
@tree
[llll]: K-dimensional tree. (required)@point
[llll]: Target point to search nearest neighbor of. (required)
Output
Index of nearest neighbor [int]