- The formatting of 'x star' in the README file has been changed so that it renders correctly on GitHub.
- The issue described at RcppCore/Rcpp#1287 has been fixed to avoid WARNINGs from CRAN checks on some platforms. Thank you to Dirk Eddelbuettel for providing the fix so quickly!
- The function
itp_c
, which implements the ITP algorithm entirely in C++.
- The argument
f
to the functionitp()
can now be either an R function or an external pointer to a C++ function. In the latter case,itp()
makes use of the Passing user-supplied C++ functions framework offered by the Rcpp package. For the simple examples given in theitp
package only a modest improvement in speed is observed (and expected). However, being able to callitp()
on the C++ side may have benefits in more challenging problems. - The package vignette and README file include examples based on external pointers to a C++ function.
- A plot method is provided, which plots the function
f
provided toitp
over the input interval(a, b)
.
- Explicit examples of passing arguments to the input function
f
have been added.
- A bug in the part of
itp()
in which the bracketing interval has been fixed. It caused incorrect results in cases where the function is locally decreasing. - Tests have been added to check the correction of this bug.