Package: splitfngr 0.1.2

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.

Authors:Collin Erickson

splitfngr_0.1.2.tar.gz
splitfngr_0.1.2.zip(r-4.5)splitfngr_0.1.2.zip(r-4.4)splitfngr_0.1.2.zip(r-4.3)
splitfngr_0.1.2.tgz(r-4.4-any)splitfngr_0.1.2.tgz(r-4.3-any)
splitfngr_0.1.2.tar.gz(r-4.5-noble)splitfngr_0.1.2.tar.gz(r-4.4-noble)
splitfngr_0.1.2.tgz(r-4.4-emscripten)splitfngr_0.1.2.tgz(r-4.3-emscripten)
splitfngr.pdf |splitfngr.html
splitfngr/json (API)
NEWS

# Install 'splitfngr' in R:
install.packages('splitfngr', repos = c('https://collinerickson.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/collinerickson/splitfngr/issues

On CRAN:

6 exports 1.40 score 2 dependencies 3 dependents 6 scripts 198 downloads

Last updated 6 years agofrom:c3399e5492. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 17 2024
R-4.5-winOKSep 17 2024
R-4.5-linuxOKSep 17 2024
R-4.4-winOKSep 17 2024
R-4.4-macOKSep 17 2024
R-4.3-winOKSep 17 2024
R-4.3-macOKSep 17 2024

Exports:fngrgrad_sharelbfgs_sharemake_sharenlminb_shareoptim_share

Dependencies:lbfgsRcpp