View source: R/hilbert_order.R
This function returns the "Hilbert order" of a sample of n points of dimension d, stored in a matrix with d rows and n columns where d is the dimension of each sample and n the number of samples. The function essentially calls Hilbert_Sort_CGAL, from the CGAL library.
1 |
a vector of index corresponding to the ordered samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.