code: def __init__(
      self, func, args=(), tol=1.48e-8, maxiter=500, full_output=0
  ):
      self.func = func
      self.args = args
      self.tol = tol
      self.maxiter = maxiter
      self._mintol = 1.0e-11
      self._cg = 0.3819660
      self.xmin = None
      self.fval = None
      self.iter = 0
      self.funcalls = 0
  
imports: from __future__ import division, print_function, absolute_import
  import warnings
  import sys
  import numpy
  from scipy._lib.six import callable, xrange
  from numpy import atleast_1d, eye, mgrid, argmin, zeros, shape, squeeze, vectorize, asarray, sqrt, Inf, asfarray, isinf
  import numpy
  from .linesearch import line_search_wolfe1, line_search_wolfe2, line_search_wolfe2, LineSearchWarning
  from scipy._lib._util import getargspec_no_self
label_desc: Use image node_id 1 to create a new Brent object  with example: obj = Brent(func, args, tol, maxiter, full_output)