gnu: Add r-rcppalgos.
* gnu/packages/cran.scm (r-rcppalgos): New variable.
This commit is contained in:
		
							parent
							
								
									20f9473532
								
							
						
					
					
						commit
						d5ba31c19a
					
				
					 1 changed files with 32 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue