From 68b6a67e94a2c4e57444b0aa3714910d0ad0190b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 2 Mar 2018 23:07:04 +0100 Subject: gnu: Add r-complexplus. * gnu/packages/cran.scm (r-complexplus): New variable. --- gnu/packages/cran.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index e7efab78ec..a82700fb38 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -2645,3 +2645,25 @@ sample Robust Rank-Order Distributional Test.") "This package provides tools for the computation of the matrix exponential, logarithm, square root, and related quantities.") (license license:gpl2+))) + +(define-public r-complexplus + (package + (name "r-complexplus") + (version "2.1") + (source + (origin + (method url-fetch) + (uri (cran-uri "complexplus" version)) + (sha256 + (base32 + "16w9v7d1ckavqmr86l34frr37pkvdn0iqnb17ssb8xaggns5lgqx")))) + (build-system r-build-system) + (propagated-inputs + `(("r-expm" ,r-expm) + ("r-matrix" ,r-matrix))) + (home-page "http://cran.r-project.org/web/packages/complexplus/") + (synopsis "Functions of complex or real variables") + (description + "This package extends several functions to the complex domain, including +the matrix exponential and logarithm, and the determinant.") + (license license:gpl2))) -- cgit v1.2.3