[go: up one dir, main page]

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.

Version: 0.2.6
Depends: R (≥ 3.0.2)
Imports: Rcpp (≥ 0.12.6), RcppParallel (≥ 4.3.20)
LinkingTo: Rcpp, RcppParallel, RcppArmadillo
Suggests: dtw, ggplot2, proxy, testthat, RcppArmadillo, RcppXPtrUtils
Published: 2022-02-03
DOI: 10.32614/CRAN.package.parallelDist
Author: Alexander Eckert [aut, cre], Lucas Godoy [ctb], Srikanth KS [ctb]
Maintainer: Alexander Eckert <info at alexandereckert.com>
BugReports: https://github.com/alexeckert/parallelDist/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://github.com/alexeckert/parallelDist, https://www.alexandereckert.com/projects/#r-packages
NeedsCompilation: yes
SystemRequirements: C++11
Materials: README NEWS
CRAN checks: parallelDist results

Documentation:

Reference manual: parallelDist.pdf
Vignettes: parallelDist vignette

Downloads:

Package source: parallelDist_0.2.6.tar.gz
Windows binaries: r-devel: parallelDist_0.2.6.zip, r-release: parallelDist_0.2.6.zip, r-oldrel: parallelDist_0.2.6.zip
macOS binaries: r-release (arm64): parallelDist_0.2.6.tgz, r-oldrel (arm64): parallelDist_0.2.6.tgz, r-release (x86_64): parallelDist_0.2.6.tgz, r-oldrel (x86_64): parallelDist_0.2.6.tgz
Old sources: parallelDist archive

Reverse dependencies:

Reverse imports: biosensors.usc, COTAN, dbcsp, FuncDiv, ILoReg, ImpactEffectsize, infercnv, knnp, mina, MLGL, numbat, oppti, scistreer
Reverse suggests: AdaptGauss, DatabionicSwarm, DataVisualizations, diffudist, DistributionOptimization, FCPS, IncDTW, ProjectionBasedClustering, ScatterDensity

Linking:

Please use the canonical form https://CRAN.R-project.org/package=parallelDist to link to this page.