| Server IP : 217.160.0.135 / Your IP : 216.73.217.37 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/scipy/optimize/__pycache__/ |
Upload File : |
�
d�cV � � � d Z ddlZddlmZ ddlmZmZmZ ddl m
Z
ddlmZm
Z
mZ ddlmZ dd lmZ d
� Z G d� d� � Z G d
� d� � Z G d� d� � Z G d� d� � Zd� Zd� Zd� Zd� Zd� ZdS )z$Constraints definition for minimize.� N� )�BFGS)�VectorFunction�LinearVectorFunction�IdentityVectorFunction)�OptimizeWarning)�warn�catch_warnings�simplefilter)�suppress_warnings)�issparsec �b � t | t j � � r| � � � n| S �N)�
isinstance�np�ndarray�item)�xs �=/usr/lib/python3/dist-packages/scipy/optimize/_constraints.py�_arr_to_scalarr s'