관리-도구
편집 파일: test_old_ma.cpython-311.pyc
� �܋f� � � � d dl mZ d dlZd dlZd dlmc mZ d dlmc m Z d dl mZmZm Z d dlmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0m1Z1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9m:Z:m;Z;m<Z<m=Z=m>Z>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZOmPZPmQZQmRZRmSZSmTZTmUZUmVZVmWZWmXZXmYZY d dlZm[Z[ ej\ Z\dd�Z] G d� d � � Z^ G d � d� � Z_ G d� d � � Z`d� ZadS )� )�reduceN)�assert_� assert_raises�assert_equal)K�MaskType�MaskedArray�absolute�add�all�allclose�allequal�alltrue�arange�arccos�arcsin�arctan�arctan2�array�average�choose�concatenate� conjugate�cos�cosh�count�divide�equal�exp�filled�getmask�greater� greater_equal�inner� isMaskedArray�less� less_equal�log�log10� make_mask�masked�masked_array�masked_equal�masked_greater�masked_greater_equal� masked_inside�masked_less�masked_less_equal�masked_not_equal�masked_outside�masked_print_option� masked_values�masked_where�maximum�minimum�multiply�nomask�nonzero� not_equal�ones�outer�product�put�ravel�repeat�resize�shape�sin�sinh�sometrue�sort�sqrt�subtract�sum�take�tan�tanh� transpose�where�zeros)�pickle� c �Z � t | |� � }|st d|� d| � d|� �� � |S )NzNot eq:� z ----)r �print)�v�w�msg�results �m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/ma/tests/test_old_ma.py�eqr\ sC � � �a��^�^�F�� -� �+��+�+�q�+�+��+�+�,�,�,��M� c � � e Zd Zd� Zd� Zej � dddg� � d� � � Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z d� Z!d � Z"d!� Z#d"S )#�TestMac � � t j ddddt dz dddddddg� � }t j g d �� � }d}g d �}g d�}t ||�� � }t ||�� � }t j g d �� � }t |g d��� � } t j |d|� � } |j }|� d� � ||||||||| | |f| _ d S )N� �?g �� @� @� @� $�� $@� @)rd � rg rb g �� �rh re rf ra rh rg )� r r r r r rj r r r r r )r r rj r r rj rj r r r r rj ��mask)g �rh � �?g�������?�r rj r r �@��x�D)�npr �pirP rD �set_fill_value�d��self�x�y�a10�m1�m2�xm�ym�z�zm�xf�ss r[ �setup_methodzTestMa.setup_method&