Skip to main content
Glama
elementwise.py1.19 kB
""" =================================================================== 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 """ from ._elementwise import find_root, find_minimum, bracket_root, bracket_minimum # noqa: F401, E501 __all__ = ["find_root", "find_minimum", "bracket_root", "bracket_minimum"]

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lillard01/chatExcel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server