Package: nabla 0.7.1
nabla: Exact Derivatives via Automatic Differentiation
Exact automatic differentiation for R functions. Provides a composable derivative operator D that computes gradients, Hessians, Jacobians, and arbitrary-order derivative tensors at machine precision. D(D(f)) gives Hessians, D(D(D(f))) gives third-order tensors for skewness of maximum likelihood estimators, and so on to any order. Works through any R code including loops, branches, and control flow.
Authors:
nabla_0.7.1.tar.gz
nabla_0.7.1.zip(r-4.7)nabla_0.7.1.zip(r-4.6)nabla_0.7.1.zip(r-4.5)
nabla_0.7.1.tgz(r-4.6-any)nabla_0.7.1.tgz(r-4.5-any)
nabla_0.7.1.tar.gz(r-4.7-any)nabla_0.7.1.tar.gz(r-4.6-any)
nabla_0.7.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
nabla/json (API)
NEWS
| # Install 'nabla' in R: |
| install.packages('nabla', repos = c('https://queelius.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/queelius/nabla/issues
automatic-differentiationderivative-operatorgradienthessianhigher-order-derivativesjacobianmle
Last updated from:0e1ef3ca94. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 140 | ||
| source / vignettes | OK | 197 | ||
| linux-release-x86_64 | OK | 133 | ||
| macos-release-arm64 | OK | 124 | ||
| macos-oldrel-arm64 | OK | 84 | ||
| windows-devel | OK | 119 | ||
| windows-release | OK | 116 | ||
| windows-oldrel | OK | 143 | ||
| wasm-release | OK | 90 |
Exports:atan2betaDderivderiv_ndifferentiate_ndualdual_constantdual_constant_ndual_variabledual_variable_ndual_vectorerferfcgradienthessianis_dualjacobianlbetaMathMath2OpspsigammashowSummaryvalue
Dependencies:
Gradient and Hessian Computation with nabla
Rendered frommle-workflow.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2026-02-07
Started: 2026-01-31
Higher-Order Derivatives
Rendered fromhigher-order.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2026-02-07
Started: 2026-01-31
Higher-Order MLE Analysis
Rendered frommle-skewness.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2026-02-07
Started: 2026-02-02
Introduction to nabla
Rendered fromintroduction.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2026-02-07
Started: 2026-01-31
Optimizer Integration
Rendered fromoptimizer-integration.Rmdusingknitr::rmarkdownon May 27 2026.Last update: 2026-02-07
Started: 2026-01-31
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| nabla: Exact Derivatives via Automatic Differentiation | nabla-package nabla |
| Beta function for dual numbers | beta beta,ANY,ANY-method beta,numeric,numeric-method |
| Composable total derivative operator | D |
| Extract the derivative (tangent) part of a dual number | deriv deriv,dualr-method deriv,numeric-method |
| Extract the k-th derivative from a nested dual result | deriv_n |
| Compute a function value and all derivatives up to order n | differentiate_n |
| Create a dual number | dual |
| Create a dual constant (derivative seed = 0) | dual_constant |
| Create a constant dual for n-th order differentiation | dual_constant_n |
| Create a dual variable (derivative seed = 1) | dual_variable |
| Create a dual seeded for n-th order differentiation | dual_variable_n |
| Create a vector of dual numbers | dual_vector |
| Indexing and length for dual_vector | dual_vector-access length,dual_vector-method [,dual_vector,numeric-method |
| Dual Number Vector | dual_vector-class |
| Arithmetic and comparison operators for dual numbers | !,dualr-method *,dualr,dualr-method *,dualr,numeric-method *,numeric,dualr-method +,dualr,dualr-method +,dualr,missing-method +,dualr,numeric-method +,numeric,dualr-method -,dualr,dualr-method -,dualr,missing-method -,dualr,numeric-method -,numeric,dualr-method /,dualr,dualr-method /,dualr,numeric-method /,numeric,dualr-method dual-arithmetic Ops,dualr,dualr-method Ops,dualr,numeric-method Ops,numeric,dualr-method ^,dualr,dualr-method ^,dualr,numeric-method ^,numeric,dualr-method |
| Two-argument arctangent for dual numbers | atan2,dualr,dualr-method atan2,dualr,numeric-method atan2,numeric,dualr-method dual-atan2 |
| Coerce dual to numeric | as.numeric,dualr-method dual-coerce |
| Combine dual numbers into a dual_vector | c,dualr-method dual-combine |
| Check if a dual number is numeric | dual-is-numeric is.numeric,dualr-method |
| Logarithm with optional base for dual numbers | dual-log log,dualr-method |
| Math group generic for dual numbers | dual-math exp,dualr-method Math,dualr-method sqrt,dualr-method |
| Math2 group generic for dual numbers | dual-math2 Math2,dualr-method |
| Piecewise max and min for dual numbers | dual-maxmin max,dualr-method min,dualr-method |
| Display a dual number | dual-show show,dualr-method show,dual_vector-method |
| Summary group generic for dual numbers | dual-summary Summary,dualr-method |
| Dual Number Class for Automatic Differentiation | dualr-class |
| Error function | erf erf,dualr-method erf,numeric-method |
| Complementary error function | erfc erfc,dualr-method erfc,numeric-method |
| Compute the gradient of a scalar-valued function | gradient |
| Compute the Hessian of a scalar-valued function | hessian |
| Test whether an object is a dual number | is_dual |
| Compute the Jacobian of a vector-valued function | jacobian |
| Log-beta function for dual numbers | lbeta lbeta,dualr,dualr-method lbeta,dualr,numeric-method lbeta,numeric,dualr-method lbeta,numeric,numeric-method |
| Polygamma function for dual numbers | psigamma psigamma,dualr-method psigamma,numeric-method |
| Extract the value (primal) part of a dual number | value value,dualr-method value,numeric-method |
