
    e!h                     (    d Z ddlmZmZmZmZ g dZy)a  
===================================================================
Elementwise Scalar Optimization (:mod:`scipy.optimize.elementwise`)
===================================================================

.. currentmodule:: scipy.optimize.elementwise

This module provides a collection of functions for root finding and
minimization of scalar, real-valued functions of one variable. Unlike their
counterparts in the base :mod:`scipy.optimize` namespace, these functions work
elementwise, enabling the solution of many related problems in an efficient,
vectorized call. Furthermore, when environment variable ``SCIPY_ARRAY_API=1``,
these functions can accept non-NumPy, array API standard compatible arrays and
perform all calculations using the corresponding array library (e.g. PyTorch,
JAX, CuPy).

Root finding
============

.. autosummary::
   :toctree: generated/

   find_root
   bracket_root

Minimization
============

.. autosummary::
   :toctree: generated/

   find_minimum
   bracket_minimum

   )	find_rootfind_minimumbracket_rootbracket_minimumN)__doc___elementwiser   r   r   r   __all__     b/var/www/html/diagnosisapp-backend/venv/lib/python3.12/site-packages/scipy/optimize/elementwise.py<module>r      s   "F Q P
Jr   