aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-03-02 23:07:04 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-02 23:07:04 +0100
commit68b6a67e94a2c4e57444b0aa3714910d0ad0190b (patch)
treef3cec7100e60259bb4dad3909ca46236f9dbf29c /gnu/packages/cran.scm
parentf96eda90d5b015057dfd28d4ef7466dbae4bc3f5 (diff)
downloadgnu-guix-68b6a67e94a2c4e57444b0aa3714910d0ad0190b.tar
gnu-guix-68b6a67e94a2c4e57444b0aa3714910d0ad0190b.tar.gz
gnu: Add r-complexplus.
* gnu/packages/cran.scm (r-complexplus): New variable.
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm22
1 files changed, 22 insertions, 0 deletions
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)))