rcpptimer - 'Rcpp' Tic-Toc Timer with 'OpenMP' Support
Provides 'Rcpp' bindings for 'cpptimer', a simple tic-toc timer class for benchmarking 'C++' code <https://github.com/BerriJ/cpptimer>. It's not just simple, it's blazing fast! This sleek tic-toc timer class supports overlapping timers as well as 'OpenMP' parallelism <https://www.openmp.org/>. It boasts a nanosecond-level time resolution. We did not find any overhead of the timer itself at this resolution. Results (with summary statistics) are automatically passed back to 'R' as a data frame.
Last updated
benchmarkingcpprcppcppopenmp
4.88 score 1 stars 1 dependents 528 downloadsdccpp - Fast Computation of Distance Correlations
Fast computation of the distance covariance 'dcov' and distance correlation 'dcor'. The computation cost is only O(n log(n)) for the distance correlation (see Chaudhuri, Hu (2019) <arXiv:1810.11332> <doi:10.1016/j.csda.2019.01.016>). The functions are written entirely in C++ to speed up the computation.
Last updated
statisticsopenblascppopenmp
4.48 score 10 stars 2 dependents 1 scripts 398 downloads