관리-도구
편집 파일: _statistical_functions.cpython-311.pyc
� �܋f � �� � d dl mZ ddlmZmZmZ ddlmZ ddlmZm Z m Z mZ d dlm Z mZmZmZ e rddlmZ d dlZdd d �d d�Zdd d �d d�Zdd d �d d�Zddd d�d!d�Zddd d�d"d�Zddd d�d!d�Zddd d�d"d�ZdS )#� )�annotations� )�_real_floating_dtypes�_real_numeric_dtypes�_numeric_dtypes)�Array)�float32�float64� complex64� complex128)� TYPE_CHECKING�Optional�Tuple�Union)�DtypeNF��axis�keepdims�xr r �%Optional[Union[int, Tuple[int, ...]]]r �bool�returnc � � | j t vrt d� � �t j t j | j ||�� � � � S )Nz+Only real numeric dtypes are allowed in maxr )�dtyper � TypeErrorr �_new�np�max�_array�r r r s �y/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/array_api/_statistical_functions.pyr r �D � � �w�*�*�*��E�F�F�F��:�b�f�Q�X�D�8�D�D�D�E�E�E� c � � | j t vrt d� � �t j t j | j ||�� � � � S )Nz3Only real floating-point dtypes are allowed in meanr )r r r r r r �meanr r s r! r% r% sD � � �w�+�+�+��M�N�N�N��:�b�g�a�h�T�H�E�E�E�F�F�Fr# c � � | j t vrt d� � �t j t j | j ||�� � � � S )Nz+Only real numeric dtypes are allowed in minr )r r r r r r �minr r s r! r'