parallelDist (Q44963)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

Parallel Distance Matrix Computation using Multiple Threads
Language Label Description Also known as
default for all languages
No label defined
    English
    parallelDist
    Parallel Distance Matrix Computation using Multiple Threads

      Statements

      0 references
      0.2.6
      3 February 2022
      0 references
      PACKAGES.rds
      9 July 2026
      0 references
      0.1.0
      6 June 2017
      0 references
      0.1.1
      7 June 2017
      0 references
      0.2.0
      27 September 2017
      0 references
      0.2.1
      5 December 2017
      0 references
      0.2.2
      24 September 2018
      0 references
      0.2.3
      12 December 2018
      0 references
      0.2.4
      12 December 2018
      0 references
      0.2.6
      4 February 2022
      0 references
      0.2.7
      27 September 2025
      0 references
      0 references
      0 references
      27 September 2025
      0 references
      0 references
      0 references
      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.
      0 references

      Identifiers