관리-도구
편집 파일: timer_comparison.cpython-311.pyc
� �܋f*= � �� � d dl Z d dlmZ d dlZd dlmZ d dlmc mZ d dl m Z ej Z G d� d� � Ze dk r�dZd ez Zd \ ZZ edd� � D ]�Zd ez Z e j ee� � � eedz � � Z ej e� � Z edez dz � � e edez � � � � eded d�ded d��� � ��dS dS )� N)�reduce)�float_)� build_err_msgc �0 � e Zd Zd� Z dd�Zdd�Z ej d�� � d� � � Z ej d�� � d � � � Z ej d�� � d � � � Z ej d�� � d� � � Z ej d�� � d� � � Z ej d�� � d � � � Z ej d�� � d� � � Z ej d�� � d� � � Z ej d�� � d� � � Z ej d�� � d� � � ZdS )�ModuleTesterc �� � || _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ t | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ |j | _ n!# t8 $ r |j j | _ Y nw xY wg | _ d S �N)�module�allequal�arange�array�concatenate�count�equal�filled�getmask�getmaskarray�id�inner� make_mask�masked�masked_array� masked_values�mask_or�nomask�ones�outer�repeat�resize�sort�take� transpose�zeros�MaskType�umath�AttributeError�core� testnames)�selfr s �l/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/ma/timer_comparison.py�__init__zModuleTester.__init__ sA � ������� ��m����\�� �!�-����\�� ��\�� ��m����~���"�/�������\�� ��)����m���"�/���#�1����~����m����K�� ��\�� ��m����m����K�� ��K�� ��)����\�� ���� � +���D�J�J��� +� +� +���*�D�J�J�J� +��������s �E �E,�+E,� Tc �T � | � |� � }| � |� � }| � | � |� � | � |� � � � } | � | � || �� � |� � }| � | � || �� � |� � }|j j dk rm|� t � � }t |t j � � r#|j dk rd|t j |� � <