class_docstr: Solve f(x, *args) == 0 using Algorithm748 of Alefeld, Potro & Shi.
      
class_docstr_tok: ["Solve","f","(","x",",","*","args",")","==","0","using","Algorithm748","of","Alefeld",",","Potro","&","Shi","."]
code: def __init__(self):
      self.f = None
      self.args = None
      self.function_calls = 0
      self.iterations = 0
      self.k = 2
      # ab=[a,b] is a global interval containing a root
      self.ab = [np.nan, np.nan]
      # fab is function values at a, b
      self.fab = [np.nan, np.nan]
      self.d = None
      self.fd = None
      self.e = None
      self.fe = None
      self.disp = False
      self.xtol = _xtol
      self.rtol = _rtol
      self.maxiter = _iter
  
imports: import warnings
  from collections import namedtuple
  import operator
  from .None import _zeros
  import numpy
label_desc: Use image node_id 1 to create a new TOMS748Solver object  with example: obj = TOMS748Solver()