pnd
0.1.3Parallel Numerical Derivatives, Gradients, Jacobians, and Hessians of Arbitrary Accuracy Order
Overview
Numerical derivatives through finite-difference approximations can be calculated using the 'pnd' package with parallel capabilities and optimal step-size selection to improve accuracy. These functions facilitate efficient computation of derivatives, gradients, Jacobians, and Hessians, allowing for more evaluations to reduce the mathematical and machine errors. Designed for compatibility with the 'numDeriv' package, which has not received updates in several years, it introduces advanced features such as computing derivatives of arbitrary order, improving the accuracy of Hessian approximations by avoiding repeated differencing, and parallelising slow functions on Windows, Mac, and Linux.
Install
Health
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 96%
- Return-value docs
- 100%
- References docs
- 38%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
Repository practices
2 development-tooling and community-health practices detected across 2 families in the upstream repository
Checks run against github.com/fifis/pnd on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 7.0 median / 62 max
- Test cases
- 105 / 0.24 per code line
Test coverage
Line coverage
92%
Expression
92.6%
Tests / Examples
91.8% / 74% ex
Functions
47 23 exported
Complexity
13.4 avg / 62 max
Call network
47 nodes / 90 edges
Call graph
Open call graph →Lowest coverage
47 functions| Function | Cyclo | Coverage |
|---|---|---|
| plot.gradstep | 1 | 0% |
| .onAttach | 8 | 59% |
| print.gradstep | 6 | 67% |
| getValsM | 2 | 75% |
| step.SW exp | 55 | 80% |
| Grad exp | 8 | 84% |
People & History
9 releases. Pick two to compare their code metrics. R releases are shown for context.
Package metadata
- First published
- 2025-02-25
- Total releases
- 9 / 1 yrs
- License
- EUPL
- Minimum R
- ≥ 3.4.0
- Download size
- 471 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet