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. WWW: https://cran.r-project.org/web/packages/numDeriv/
16 lines
292 B
Makefile
16 lines
292 B
Makefile
# Created by: TAKATSU Tomonari <tota@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= numDeriv
|
|
DISTVERSION= 2016.8-1
|
|
CATEGORIES= math
|
|
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
|
|
|
MAINTAINER= tota@FreeBSD.org
|
|
COMMENT= Accurate Numerical Derivatives
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USES= cran:auto-plist
|
|
|
|
.include <bsd.port.mk>
|