NEWS.md
f
to the function itp()
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 the itp
package only a modest improvement in speed is observed (and expected). However, being able to call itp()
on the C++ side may have benefits in more challenging problems.f
provided to itp
over the input interval (a, b)
.itp()
in which the bracketing interval has been fixed. It caused incorrect results in cases where the function is locally decreasing.