Prints objects of class "itp"
returned from itp
.
Arguments
- x
An object inheriting from class
"itp"
, a result of a call toitp
.- all
A logical scalar. If
all = FALSE
then only the estimated root, the value of the function at the root an the number of iterations are printed. Ifall = TRUE
then, in addition, the final bracketing interval [a, b
], the values of the function at the end points of this interval and the estimated precision are printed.- digits
The argument
digits
passed toformat
to set the number of significant digits to print.- ...
Further arguments to be passed to or from other methods. They are ignored in this function..
Details
The default setting is to print only the root, the value of the
function at the root and the number of iterations. To include the
bracketing interval after convergence and the estimated precision use
all = TRUE
.
See also
itp
for the Interpolate, Truncate, Project (ITP) root
finding algorithm.