summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2018-03-05 16:52:13 +0000
committerminskim <minskim@pkgsrc.org>2018-03-05 16:52:13 +0000
commitc6fd391a8ba84ca6691c91fd2bb21e4a7db5d186 (patch)
treeb31777d0875b81a05ab3a7169bf0c591f5409b30 /math
parentb2f5409336613b20c2a013746d0f724819380625 (diff)
downloadpkgsrc-c6fd391a8ba84ca6691c91fd2bb21e4a7db5d186.tar.gz
math/R-numDeriv: Import version 2016.8.1
Methods for calculating (usually) accurate numerical first and second order derivatives. Accurate calculations are done using 'Richardson”s' extrapolation or, when applicable, a complex step derivative is available. A simple difference method is also provided. Simple difference is (usually) less accurate but is much quicker than 'Richardson”s' extrapolation and provides a useful cross-check. Methods are provided for real scalar and vector valued functions.
Diffstat (limited to 'math')
-rw-r--r--math/R-numDeriv/DESCR7
-rw-r--r--math/R-numDeriv/Makefile18
-rw-r--r--math/R-numDeriv/distinfo6
3 files changed, 31 insertions, 0 deletions
diff --git a/math/R-numDeriv/DESCR b/math/R-numDeriv/DESCR
new file mode 100644
index 00000000000..a3cd197752b
--- /dev/null
+++ b/math/R-numDeriv/DESCR
@@ -0,0 +1,7 @@
+Methods for calculating (usually) accurate numerical first and second
+order derivatives. Accurate calculations are done using 'Richardson”s'
+extrapolation or, when applicable, a complex step derivative is
+available. A simple difference method is also provided. Simple
+difference is (usually) less accurate but is much quicker than
+'Richardson”s' extrapolation and provides a useful cross-check.
+Methods are provided for real scalar and vector valued functions.
diff --git a/math/R-numDeriv/Makefile b/math/R-numDeriv/Makefile
new file mode 100644
index 00000000000..b64ac8fcd6c
--- /dev/null
+++ b/math/R-numDeriv/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2018/03/05 16:52:13 minskim Exp $
+
+CATEGORIES= math
+MASTER_SITES= ${MASTER_SITE_R_CRAN:=contrib/}
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= ${R_HOMEPAGE_BASE}/numDeriv/
+COMMENT= Accurate numerical derivatives
+LICENSE= gnu-gpl-v2
+
+R_PKGNAME= numDeriv
+R_PKGVER= 2016.8-1
+
+USE_LANGUAGES+= # none
+
+BUILDLINK_API_DEPENDS.R+= R>=2.11.1
+.include "../../math/R/Makefile.extension"
+.include "../../mk/bsd.pkg.mk"
diff --git a/math/R-numDeriv/distinfo b/math/R-numDeriv/distinfo
new file mode 100644
index 00000000000..300a59663f1
--- /dev/null
+++ b/math/R-numDeriv/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/03/05 16:52:13 minskim Exp $
+
+SHA1 (R/numDeriv_2016.8-1.tar.gz) = 8d43a502c4ee1efcf8b3dcf5ba1c91667c84198a
+RMD160 (R/numDeriv_2016.8-1.tar.gz) = 53f6370b6d0104b9c3da04bb8510730c0a8371ab
+SHA512 (R/numDeriv_2016.8-1.tar.gz) = c77db5cb3f21f08c9f55be9ffc26ad3238450e74190cf8dccdf50a2a4dd5319d50dd9a8c206c8675239a74f53a4d4aac6339765a1f305c92e293b1591f07a6d4
+Size (R/numDeriv_2016.8-1.tar.gz) = 76303 bytes