aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpimi <madalinionel.patrascu@mdc-berlin.de>2018-10-01 08:52:01 -0400
committerLeo Famulari <leo@famulari.name>2018-10-01 09:08:10 -0400
commit16c5285af40f66614cccfe3f916cfe78e49bae16 (patch)
treef8483b8e8ba05c31006d26a533f70e6c2e9e9ef5
parentf359b115c74c9c5fdf482528a0480ed40f5a2446 (diff)
downloadpatches-16c5285af40f66614cccfe3f916cfe78e49bae16.tar
patches-16c5285af40f66614cccfe3f916cfe78e49bae16.tar.gz
gnu: Add r-nleqslv.
* gnu/packages/cran.scm (r-nleqslv): New variable.
-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 82984548a2..b06d22bd51 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -5969,3 +5969,25 @@ unobserved (or hidden) state. Also, this package is suitable for equidistant
time series data, with multivariate and/or missing data. Allows user defined
emission distributions.")
(license license:gpl2+)))
+
+(define-public r-nleqslv
+ (package
+ (name "r-nleqslv")
+ (version "3.3.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "nleqslv" version))
+ (sha256
+ (base32 "1v9znvncyigw9r25wx2ma0b7ib179b488dl0qsrhp5zrcz7mcjgm"))))
+ (build-system r-build-system)
+ (native-inputs `(("gfortran" ,gfortran)))
+ (home-page "https://cran.r-project.org/web/packages/nleqslv/")
+ (synopsis "Solve systems of nonlinear equations")
+ (description
+ "The @code{r-nleqslv} package solves a system of nonlinear equations using a
+Broyden or a Newton method with a choice of global strategies such as line
+search and trust region. There are options for using a numerical or user
+supplied Jacobian, for specifying a banded numerical Jacobian and for allowing a
+singular or ill-conditioned Jacobian.")
+ (license license:gpl2+)))