ADtools: Automatic Differentiation Toolbox

Implements the forward-mode automatic differentiation for multivariate functions using the matrix-calculus notation from Magnus and Neudecker (2019) <doi:10.1002/9781119541219>. Two key features of the package are: (i) it incorporates various optimisation strategies to improve performance; this includes applying memoisation to cut down object construction time, using sparse matrix representation to speed up derivative calculation, and creating specialised matrix operations to reduce computation time; (ii) it supports differentiating random variates with respect to their parameters, targeting Markov chain Monte Carlo (MCMC) and general simulation-based applications.

Package details

AuthorChun Fung Kwok [aut, cre] (<https://orcid.org/0000-0002-0716-3879>), Dan Zhu [aut] (<https://orcid.org/0000-0003-1487-2232>), Liana Jacobi [aut] (<https://orcid.org/0000-0001-7210-0500>)
MaintainerChun Fung Kwok <kwokcf@unimelb.edu.au>
LicenseMIT + file LICENSE
Version0.5.4
URL https://github.com/kcf-jackson/ADtools
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ADtools")

Try the ADtools package in your browser

Any scripts or data that you put into this service are public.

ADtools documentation built on Nov. 9, 2020, 5:09 p.m.