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 = FALSEthen only the estimated root, the value of the function at the root an the number of iterations are printed. Ifall = TRUEthen, 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
digitspassed toformatto 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.