diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2022-08-02 15:12:10 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2022-08-02 15:12:10 +0200 |
commit | d5ba31c19accdf14bca23ebc0c3baf1c5b08fb5f (patch) | |
tree | 3689e367d86bbd405f589e4c055c52418d051f86 | |
parent | 20f9473532dd288c536581df2573ece2079f7a27 (diff) | |
download | guix-d5ba31c19accdf14bca23ebc0c3baf1c5b08fb5f.tar.gz |
gnu: Add r-rcppalgos.
* gnu/packages/cran.scm (r-rcppalgos): New variable.
-rw-r--r-- | gnu/packages/cran.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index e8f21b7567..094dd4e449 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -13484,6 +13484,38 @@ regressions). NOTE: Weighted partial correlation calculations pulled to address a bug.") (license license:gpl2+))) +(define-public r-rcppalgos + (package + (name "r-rcppalgos") + (version "2.5.3") + (source (origin + (method url-fetch) + (uri (cran-uri "RcppAlgos" version)) + (sha256 + (base32 + "1ndibdf3k02bpcgackzviczramzkay9idn071nix3dhs5miq1ai8")))) + (properties `((upstream-name . "RcppAlgos"))) + (build-system r-build-system) + (inputs (list gmp)) + (propagated-inputs (list r-cpp11 r-gmp)) + (native-inputs (list r-knitr)) + (home-page "https://github.com/jwood000/RcppAlgos") + (synopsis + "High performance tools for combinatorics and computational mathematics") + (description + "This package provides optimized functions and flexible combinatorial +iterators implemented in C++ for solving problems in combinatorics and +computational mathematics. It utilizes the @code{RMatrix} class from +@code{RcppParallel} for thread safety. There are combination/permutation +functions with constraint parameters that allow for generation of all results +of a vector meeting specific criteria. It is capable of generating specific +combinations/permutations which sets up nicely for parallelization as well as +random sampling. Gmp support permits exploration where the total number of +results is large. Additionally, there are several high performance number +theoretic functions that are useful for problems common in computational +mathematics.") + (license license:gpl2+))) + (define-public r-rcppannoy (package (name "r-rcppannoy") |