관리-도구
편집 파일: test_index_tricks.cpython-311.pyc
� �܋f O � �P � d dl Z d dlZd dlmZmZmZmZmZm Z m Z d dlmZm Z mZmZmZmZmZmZmZmZmZ G d� d� � Z G d� d� � Z G d� d � � Z G d � d� � Z G d� d � � Z G d� d� � Zd� Z G d� d� � Zd� Z G d� d� � Z d� Z!dS )� N)�assert_�assert_equal�assert_array_equal�assert_almost_equal�assert_array_almost_equal� assert_raises�assert_raises_regex)�mgrid�ogrid�ndenumerate� fill_diagonal�diag_indices�diag_indices_from� index_exp�ndindex�r_�s_�ix_c � � e Zd Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z e j � dg d �� � d � � � Z d� ZdS ) �TestRavelUnravelIndexc � � t t j dd� � d� � t t j dd�� � d� � t t � � 5 t j dd�� � d d d � � n# 1 swxY w Y t t � � 5 t j dd�� � d d d � � n# 1 swxY w Y t t � � 5 t j dd� � � d d d � � n# 1 swxY w Y t t � � 5 t j dd� � � d d d � � n# 1 swxY w Y t t j dd� � d� � t t j dd� � d� � t t j dd� � d� � t t t j dd� � t t t j d d� � t t t j dd� � t t t j dd� � t t t j dd� � t t t j dd� � t t t j dd� � t t t j dd� � t t j dd� � g d�� � t t j g d�d� � d� � t j g d�g d�g� � }t t j |d� � g d�� � t t j |dd�� � g d�� � t t j |dd� � � g d!�� � t t j |d"d#� � � g d$�� � t t j d%d&� � d'� � t t j t j g d�� � d� � g d�g d�g� � t t j t j g d�� � dd�� � g d�g d�g� � t t j d'd&� � g d%�� � d S )(N� )r r �� r )�indices�shape)r �hape)r � )� �^ )�ims)�dims)r �B ���g �?� )���r )r r )r r&