| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 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 : /usr/lib/python3/dist-packages/numpy/lib/__pycache__/ |
Upload File : |
�
���c_ � �. � d Z g d�Zddlmc mZ ddlmZmZ ddl Z ddl
Z
d� Zd� Zd� Z
edd�� � Z eed d
�� � e
dd�� � � � Z eed d
�� � e
dd
�� � � � Z eed d
�� � e
dd�� � � � ZdS )zr
Module of functions that are like ufuncs in acting on arrays and optionally
storing results in an output array.
)�fix�isneginf�isposinf� N)�array_function_dispatch�ARRAY_FUNCTION_ENABLEDc �H � � t j � � � d� fd� � � }|S )z|
Allow the out argument to be passed as the name `y` (deprecated)
In future, this decorator should be removed.
Nc �
�� d|v rtd|v r't d� �j � � � � �|� d� � }t j d� �j � � t d�� � �| fd|i|��S )N�y�outz-{} got multiple values for argument 'out'/'y'zXThe name of the out argument to {} has changed from `y` to `out`, to match other ufuncs.� )�
stacklevel)� TypeError�format�__name__�pop�warnings�warn�DeprecationWarning��xr �kwargs�fs ��5/usr/lib/python3/dist-packages/numpy/lib/ufunclike.py�funcz$_deprecate_out_named_y.<locals>.func s� �� ��&�=�=������C��V�A�J�'�'�� � � �*�*�S�/�/�C��M�0�06��q�z�0B�0B�"�q�
2�
2�
2�
2� �q��&�&��&�v�&�&�&� �N�� functools�wraps�r r s ` r �_deprecate_out_named_yr! s? �� � �_�Q���
'�
'�
'�
'�
'� ��
'� �Kr c �H � � t j � � � d� fd� � � }|S )z�
Allow the out argument to be passed as the name `y` (deprecated)
This decorator should only be used if _deprecate_out_named_y is used on
a corresponding dispatcher function.
Nc �L �� d|v r|� d� � } �| fd|i|��S )Nr
r )r r s �r r z_fix_out_named_y.<locals>.func0 s8 �� ��&�=�=��*�*�S�/�/�C��q��&�&��&�v�&�&�&r r r r s ` r �_fix_out_named_yr$ ) s? �� � �_�Q���'� '� '� '� '� ��'� �Kr c �L � t rt | � � S t | � � S )zU
Use the appropriate decorator, depending upon if dispatching is being used.
)r r$ r! )r s r �$_fix_and_maybe_deprecate_out_named_yr&