diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2016-09-12 16:17:06 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2016-09-12 17:44:40 +0200 |
commit | 2d047896f9d0241ef565f1ed237103071a0a5d91 (patch) | |
tree | 17e39b3faf6ef24ff700d2b31277ef806dd02c16 | |
parent | 39fb629535355a045319e915b058b28f0ed76e02 (diff) | |
download | guix-2d047896f9d0241ef565f1ed237103071a0a5d91.tar.gz |
gnu: Add r-quadprog.
* gnu/packages/maths.scm (r-quadprog): New variable.
-rw-r--r-- | gnu/packages/maths.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index c8b59dfd2a..b5cf05a861 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1191,6 +1191,27 @@ sparse system of linear equations A x = b using Guassian elimination.") (inputs (alist-delete "pt-scotch" (package-inputs mumps-openmpi))))) +(define-public r-quadprog + (package + (name "r-quadprog") + (version "1.5-5") + (source + (origin + (method url-fetch) + (uri (cran-uri "quadprog" version)) + (sha256 + (base32 + "0jg3r6abmhp8r9vkbhpx9ldjfw6vyl1m4c5vwlyjhk1mi03656fr")))) + (build-system r-build-system) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page "http://cran.r-project.org/web/packages/quadprog") + (synopsis "Functions to solve quadratic programming problems") + (description + "This package contains routines and documentation for solving quadratic +programming problems.") + (license license:gpl3+))) + (define-public r-pracma (package (name "r-pracma") |