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 1 scripts 225 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
3.65 score 9 stars 1 scripts 240 downloadsUnitCircle - Check if Roots of a Polynomial Lie Outside the Unit Circle
The uc.check() function checks whether the roots of a given polynomial lie outside the Unit circle. You can also easily draw an unit circle.
Last updated
2.90 score 1 stars 16 scripts 161 downloads