splitfngr: Combined Evaluation and Split Access of Functions

Some R functions, such as optim(), require a function its gradient passed as separate arguments. When these are expensive to calculate it may be much faster to calculate the function (fn) and gradient (gr) together since they often share many calculations (chain rule). This package allows the user to pass in a single function that returns both the function and gradient, then splits (hence 'splitfngr') them so the results can be accessed separately. The functions provided allow this to be done with any number of functions/values, not just for functions and gradients.

Version: 0.1.2
Imports: lbfgs
Published: 2019-01-30
Author: Collin Erickson
Maintainer: Collin Erickson <collinberickson at gmail.com>
License: GPL-3
NeedsCompilation: no
Materials: README NEWS
CRAN checks: splitfngr results

Documentation:

Reference manual: splitfngr.pdf

Downloads:

Package source: splitfngr_0.1.2.tar.gz
Windows binaries: r-devel: splitfngr_0.1.2.zip, r-release: splitfngr_0.1.2.zip, r-oldrel: splitfngr_0.1.2.zip
macOS binaries: r-release (arm64): splitfngr_0.1.2.tgz, r-oldrel (arm64): splitfngr_0.1.2.tgz, r-release (x86_64): splitfngr_0.1.2.tgz, r-oldrel (x86_64): splitfngr_0.1.2.tgz
Old sources: splitfngr archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=splitfngr to link to this page.