From 633b0242d08279f493d4812ead7e4f6efcf9924d Mon Sep 17 00:00:00 2001 From: Magali Lemes Date: Fri, 16 Oct 2020 15:51:07 -0300 Subject: gnu: Add r-calculus. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/cran.scm (r-calculus): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/cran.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 252699c691..fea560f7a1 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -30,6 +30,7 @@ ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2020 Antoine Côté ;;; Copyright © 2020 Arun Isaac +;;; Copyright © 2020 Magali Lemes ;;; ;;; This file is part of GNU Guix. ;;; @@ -24598,3 +24599,32 @@ enrichment analysis (GSEA) calculation with or without the absolute filtering. Without filtering, users can perform (original) two-tailed or one-tailed absolute GSEA.") (license license:gpl2))) + +(define-public r-calculus + (package + (name "r-calculus") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "calculus" version)) + (sha256 + (base32 + "0hs7hzjl6xjza20v9zx9a1piywxa6w3h2rskr52d1dcbc0vwhinp")))) + (properties `((upstream-name . "calculus"))) + (build-system r-build-system) + (propagated-inputs + `(("r-rcpp" ,r-rcpp))) + (home-page "https://github.com/guidotti/calculus") + (synopsis "High dimensional numerical and symbolic calculus") + (description + "Efficient C++ optimized functions for numerical and symbolic calculus. +It includes basic symbolic arithmetic, tensor calculus, Einstein summing +convention, fast computation of the Levi-Civita symbol and generalized +Kronecker delta, Taylor series expansion, multivariate Hermite polynomials, +accurate high-order derivatives, differential operators (Gradient, Jacobian, +Hessian, Divergence, Curl, Laplacian) and numerical integration in arbitrary +orthogonal coordinate systems: cartesian, polar, spherical, cylindrical, +parabolic or user defined by custom scale factors.") + (license license:gpl3))) + -- cgit v1.2.3