parallelDist (0.2.4)

0 users

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.

Maintainer: Alexander Eckert
Author(s): Alexander Eckert [aut, cre], Lucas Godoy [ctb], Srikanth KS [ctb]

License: GPL (>= 2)

Uses: Rcpp, RcppParallel, ggplot2, proxy, dtw, testthat, RcppArmadillo, RcppXPtrUtils
Reverse suggests: AdaptGauss, DatabionicSwarm, DataVisualizations, DistributionOptimization, dtwclust, FCPS, IncDTW

Released over 1 year ago.

6 previous versions



  (0 votes)


  (0 votes)

Log in to vote.


No one has written a review of parallelDist yet. Want to be the first? Write one now.

Related packages:(20 best matches, based on common tags.)

Search for parallelDist on google, google scholar, r-help, r-devel.

Visit parallelDist on R Graphical Manual.