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.
- GitHub
- https://www.alexandereckert.com/projects/#r-packages
- File a bug report
- parallelDist results
- parallelDist.pdf
- Version0.2.6
- R version≥ 3.0.2
- LicenseGPL-2
- LicenseGPL-3
- Needs compilation?Yes
- Last release02/03/2022
Documentation
Team
Alexander Eckert
Lucas Godoy
Show author detailsRolesContributorSrikanth KS
Show author detailsRolesContributor
Insights
Last 30 days
Last 365 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Depends1 package
- Imports2 packages
- Suggests6 packages
- Linking To3 packages
- Reverse Imports13 packages
- Reverse Suggests9 packages