code: def _quadmin(a, fa, fpa, b, fb):
      # finds the minimizer for a quadratic polynomial that goes through
      #  the points (a,fa), (b,fb) with derivative at a of fpa
      # f(x) = B*(x-a)^2 + C*(x-a) + D
      D = fa
      C = fpa
      db = b - a * 1.0
      if db == 0:
          return None
      B = (fb - D - C * db) / (db * db)
      if B <= 0:
          return None
      xmin = a - C / (2.0 * B)
      return xmin
  
imports: import numpy
  from numpy import atleast_1d, eye, mgrid, argmin, zeros, shape, empty, squeeze, isscalar, vectorize, asarray, absolute, sqrt, Inf, asfarray, isinf
  from mystic import linesearch
  from collections.abc import Callable
  import builtins
label_desc: Use image node_id 11 for calling a global function with example usage: _quadmin(a, fa, fpa, b, fb) and returns: xmin, None, None