gnu: Add r-complexplus.

* gnu/packages/cran.scm (r-complexplus): New variable.
This commit is contained in:
Ricardo Wurmus 2018-03-02 23:07:04 +01:00
parent f96eda90d5
commit 68b6a67e94
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2645,3 +2645,25 @@ (define-public r-expm
"This package provides tools for the computation of the matrix "This package provides tools for the computation of the matrix
exponential, logarithm, square root, and related quantities.") exponential, logarithm, square root, and related quantities.")
(license license:gpl2+))) (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)))