From 2d047896f9d0241ef565f1ed237103071a0a5d91 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 12 Sep 2016 16:17:06 +0200 Subject: gnu: Add r-quadprog. * gnu/packages/maths.scm (r-quadprog): New variable. --- gnu/packages/maths.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index c8b59dfd2..b5cf05a86 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") -- cgit v1.3 From ccd9b1511e263cadb7411fdcfc09e6d385f0a0f5 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 12 Sep 2016 15:02:48 +0200 Subject: gnu: r-pracma: Update to 1.9.5. * gnu/packages/maths.scm (r-pracma): Update to 1.9.5. [propagated-inputs]: Add "r-quadprog". --- gnu/packages/maths.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index b5cf05a86..f676a2a27 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1215,13 +1215,15 @@ programming problems.") (define-public r-pracma (package (name "r-pracma") - (version "1.8.8") + (version "1.9.5") (source (origin (method url-fetch) (uri (cran-uri "pracma" version)) (sha256 - (base32 "0ans9l5rrb7a38gyi4qx4258sd5r5668vyrk02yzjpg9k3h8l165")))) + (base32 "19nr2jlkbcdgvw3gx5hry12av565lmvqd5q4h7zlch3q13avwwl2")))) (build-system r-build-system) + (propagated-inputs + `(("r-quadprog" ,r-quadprog))) (home-page "http://cran.r-project.org/web/packages/pracma") (synopsis "Practical numerical math functions") (description "This package provides functions for numerical analysis and -- cgit v1.3 From 5e67507273cbd52b66410e3e9422b8f47ed6e068 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 12 Sep 2016 15:40:42 +0200 Subject: gnu: r-rcpparmadillo: Update to 0.7.400.2.0. * gnu/packages/maths.scm (armadillo-for-rcpparmadillo): Update to 7.400.2. * gnu/packages/statistics.scm (r-rcpparmadillo): Update to 0.7.400.2.0. --- gnu/packages/maths.scm | 6 +++--- gnu/packages/statistics.scm | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index f676a2a27..44a24ef69 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1816,14 +1816,14 @@ associated functions (eg. contiguous and non-contiguous submatrix views).") (define-public armadillo-for-rcpparmadillo (package (inherit armadillo) - (version "6.700.6") + (version "7.400.2") (source (origin (method url-fetch) (uri (string-append "mirror://sourceforge/arma/armadillo-" - version ".tar.gz")) + version ".tar.xz")) (sha256 (base32 - "1cdpjxb0fz5f28y5qrqgpw53s7qi8s2v3al9lfdldqxngb21vpx8")))))) + "0xmpnqhm9mwr1lssjyarj0cl8b4svbqv6z1xa1dxlwd2ly1srkg4")))))) (define-public muparser ;; When switching download sites, muparser re-issued a 2.2.5 release with a diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index de21586a8..8dea4eeea 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -1858,13 +1858,13 @@ well as additional utilities such as panel and axis annotation functions.") (define-public r-rcpparmadillo (package (name "r-rcpparmadillo") - (version "0.6.700.6.0") + (version "0.7.400.2.0") (source (origin (method url-fetch) (uri (cran-uri "RcppArmadillo" version)) (sha256 (base32 - "0x736cjg1pbvn8c6h91c88qmmz4pddvvqg88k9c9kwhn24fjrra0")) + "0g2658iy43higy1cay00ljibgnwh0zv5gcwvbhckjs48y8z1a2pb")) (modules '((guix build utils))) ;; Remove bundled armadillo sources (snippet -- cgit v1.3 From 538c0e3b699a35656b796cdd90b837135b7925da Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 21 Sep 2016 22:32:53 +0300 Subject: gnu: openlibm: Remove support for mips. * gnu/packages/maths.scm (openlibm)[supported-systems]: New field, remove support for mips64el. --- gnu/packages/maths.scm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 44a24ef69..1e7f4ca5b 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1944,6 +1944,8 @@ programming language implementations. The project was born out of a need to have a good libm for the Julia programming language that worked consistently across compilers and operating systems, and in 32-bit and 64-bit environments.") + ;; Each architecture has its own make target, and there is none for mips. + (supported-systems (delete "mips64el-linux" %supported-systems)) ;; See LICENSE.md for details. (license (list license:expat license:isc -- cgit v1.3 From 32f70e1f86141ed30f1026ea0cf8a4bd377004b0 Mon Sep 17 00:00:00 2001 From: Thomas Danckaert Date: Fri, 17 Jun 2016 10:41:50 +0200 Subject: gnu: Add gctp. * gnu/packages/maths.scm (gctp): New variable. Signed-off-by: Leo Famulari --- gnu/packages/maths.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 1e7f4ca5b..0401cd3bd 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -418,6 +418,32 @@ plotting engine by third-party applications like Octave.") (license (license:fsf-free "http://gnuplot.cvs.sourceforge.net/gnuplot/gnuplot/Copyright"))))) +(define-public gctp + (package + (name "gctp") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/OkoSanto/GCTP/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0l9aqnqynh9laicn5dxf3rsb1n14xiks79wbyqccirzmjqd1c1x4")))) + (native-inputs + `(("fortran" ,gfortran))) + (build-system gnu-build-system) + (synopsis "General Cartographic Transformation Package (GCTP)") + (description + "The General Cartographic Transformation Package (GCTP) is a system of +software routines designed to permit the transformation of coordinate pairs +from one map projection to another. The GCTP is the standard computer +software used by the National Mapping Division for map projection +computations.") + (home-page "https://github.com/OkoSanto/GCTP") + (license 'license:public-domain))) ; https://www2.usgs.gov/laws/info_policies.html + (define-public hdf5 (package (name "hdf5") -- cgit v1.3