Skip to contents

Specific method for printing the multiroot class, created for multiroot function, in a pleasing form.

Usage

# S3 method for multiroot
print(x, ...)

Arguments

x

a list.

...

additional arguments, will be ignored.

Value

invisible(x).

Details

The multiroot class is a list with slots root, iter, err.

See also

multiroot for vectorial bisection method.

Examples

mt <- structure(list(root = 1, iter = 20, err = 1e-8), class = "multiroot")
print(mt)
#> root: 1 
#> iter: 20 
#> err: 1e-08