Package: parallelDist 0.2.6
Alexander Eckert
parallelDist: Parallel Distance Matrix Computation using Multiple Threads
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.
Authors:
parallelDist_0.2.6.tar.gz
parallelDist_0.2.6.zip(r-4.5)parallelDist_0.2.6.zip(r-4.4)parallelDist_0.2.6.zip(r-4.3)
parallelDist_0.2.6.tgz(r-4.4-x86_64)parallelDist_0.2.6.tgz(r-4.4-arm64)parallelDist_0.2.6.tgz(r-4.3-x86_64)parallelDist_0.2.6.tgz(r-4.3-arm64)
parallelDist_0.2.6.tar.gz(r-4.5-noble)parallelDist_0.2.6.tar.gz(r-4.4-noble)
parallelDist_0.2.6.tgz(r-4.4-emscripten)parallelDist_0.2.6.tgz(r-4.3-emscripten)
parallelDist.pdf |parallelDist.html✨
parallelDist/json (API)
NEWS
# Install 'parallelDist' in R: |
install.packages('parallelDist', repos = c('https://fastverse.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/alexeckert/paralleldist/issues
data-sciencedistance-computationsmatricesopenblascpp
Last updated 3 years agofrom:ef7086596f. Checks:OK: 1 NOTE: 8. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 06 2024 |
R-4.5-win-x86_64 | NOTE | Dec 06 2024 |
R-4.5-linux-x86_64 | NOTE | Dec 06 2024 |
R-4.4-win-x86_64 | NOTE | Dec 06 2024 |
R-4.4-mac-x86_64 | NOTE | Dec 06 2024 |
R-4.4-mac-aarch64 | NOTE | Dec 06 2024 |
R-4.3-win-x86_64 | NOTE | Dec 06 2024 |
R-4.3-mac-x86_64 | NOTE | Dec 06 2024 |
R-4.3-mac-aarch64 | NOTE | Dec 06 2024 |
Exports:parallelDistparDist
Dependencies:RcppRcppArmadilloRcppParallel
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Parallel Distance Matrix Computation using multiple Threads | parallelDist parDist |