code: def _quadmin(a, fa, fpa, b, fb):
      D = fa
      C = fpa
      db = b - a
      B = (fb - D - C * db) / (db**2)
      xmin = a - C / (2.0 * B)
      return xmin
  
file_path: jax/jax/_src/scipy/optimize/line_search.py
imports: from __future__ import annotations
  from typing import NamedTuple
  from functools import partial
  from jax._src.numpy.util import promote_dtypes_inexact
  import jax.numpy
  import jax
  from jax import lax
label_desc: Use image node_id 2 for calling a global function with example usage: _quadmin(a, fa, fpa, b, fb) and returns: xmin