Description Usage Arguments Details Value Examples
Similar to R's dist().
| 1 | rthdist(m, nthreads = rth.nthreads())
 | 
| m | Matrix/data frame for between-rows distance computation. | 
| nthreads | An optional argument for specifying the number of threads (in the case of OpenMP or TBB backends) that the routine should (at most) use. Does nothing with a CUDA backend. See nthreads. | 
Calling rthdist() on the matrix m returns the euclidean
distances between all pairs of rows in m.
Object of R class "matrix".  Duplicate computation is avoided
in rthdist() but the entire matrix is constructed.
| 1 2 3 4 5 6 7 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.