About Anaconda Help Download Anaconda

A fast parallelized alternative to R's native 'dist' function to calculate distance matrices for continuous, binary, and multi-dimensional input matrices, which supports a broad variety of 41 predefined distance functions from the 'stats', 'proxy' and 'dtw' R packages, as well as user- defined functions written in C++. For ease of use, the 'parDist' function extends the signature of the 'dist' function and uses the same parameter naming conventions as distance methods of existing R packages. The package is mainly implemented in C++ and leverages the 'RcppParallel' package to parallelize the distance computations with the help of the 'TinyThread' library. Furthermore, the 'Armadillo' linear algebra library is used for optimized matrix operations during distance calculations. The curiously recurring template pattern (CRTP) technique is applied to avoid virtual functions, which improves the Dynamic Time Warping calculations while the implementation stays flexible enough to support different DTW step patterns and normalization methods.

copied from cf-staging / r-paralleldist
Type Size Name Uploaded Downloads Labels
conda 355.3 kB | win-64/r-paralleldist-0.2.6-r41ha856d6a_0.tar.bz2  3 years and 7 months ago 722 main
conda 344.2 kB | osx-64/r-paralleldist-0.2.6-r41h9951f98_0.tar.bz2  3 years and 7 months ago 95 main
conda 344.1 kB | osx-64/r-paralleldist-0.2.6-r40h9951f98_0.tar.bz2  3 years and 7 months ago 85 main
conda 376.5 kB | linux-64/r-paralleldist-0.2.6-r40h03ef668_0.tar.bz2  3 years and 7 months ago 3032 main
conda 376.6 kB | linux-64/r-paralleldist-0.2.6-r41h03ef668_0.tar.bz2  3 years and 7 months ago 2695 main

© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.1) Legal | Privacy Policy