itp
The Interpolate, Truncate, Project (ITP) Root-Finding Algorithm
A single-algorithm root-finder that finished its job in 2022 and has been idling since
◆Recent moves
- 7mo ago
Rcpp Rf_error masking patch, README and help-file typo
Applies the upstream Rcpp patch for Rf_error() masking, fixes README rendering and a missing word in the itp() help file. The second time in three years the package has woken up purely to absorb an Rcpp change.
View source ↗ - 2y ago
Rcpp fix clears CRAN check warnings
Takes an upstream Rcpp fix to stop CRAN check warnings on some platforms. Pure maintenance, with no change to the algorithm or interface.
View source ↗ - 4y ago
itp_c runs the whole algorithm in C++
Adds itp_c(), implementing ITP entirely in C++ rather than driving it from R. It completes the performance arc the previous release started and is the last functional change the package has made.
View source ↗ - 4y ago
Accepts C++ function pointers, adds a plot method
itp() can now take an external pointer to a C++ function through Rcpp's user-supplied function framework, keeping the root-finding loop off the R side. The release is candid that the packaged examples show only modest gains, with the benefit expected on harder problems.
View source ↗ - 4y ago
Bracketing interval fix for locally decreasing functions
Corrects a bracketing bug that returned wrong roots where the function is locally decreasing, with tests added. A week after first release, which is where this class of bug usually surfaces.
View source ↗ - 4y ago
First release of the ITP root-finding algorithm
Initial release implementing the published ITP method, which brackets a root more tightly each iteration while retaining bisection's worst-case reliability. It defines the package's entire scope, which has not widened since.
View source ↗