| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/numpy/matrixlib/tests/__pycache__/ |
Upload File : |
�
�g�/ � �� � d Z ddlZddlZddlZddlZddlmZmZm Z m
Z
mZmZm
Z
d� Zd� Zd� Zd� Zd� Zd � Zd
� Zd� Zd� Zd
� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z G d� d� Z!d� Z"d� Z#y)z�Tests of interaction of matrix with other parts of numpy.
Note that tests with MaskedArray and linalg are done in separate files.
� N)�assert_�assert_equal�
assert_raises�assert_raises_regex�assert_array_equal�assert_almost_equal�assert_array_almost_equalc �p � t j ddgddgg� } t t | g d�d d �f t j � � t j t j
d� j
dd� � }t |d d�t j d � f |d d�d f j � y )
N� � � � )r r r �2 � �
���)
�np�matrixr �
isinstance�asmatrix�arange�reshaper �array�T)�m�xs �HC:\Python312\Lib\site-packages\numpy/matrixlib/tests/test_interaction.py�test_fancy_indexingr s� � �
� � �A�q�6�A�q�6�"�#�A��J�q��A���� � �2�3� ���B�I�I�b�M�)�)�!�R�0�1�A���2�A�2�r�x�x��|�#�$�a����B��i�k�k�2� c �� � ddg} ddg}t j | | g� }t j j j || |� }t t
|t j � � y )Nr r r r
)r r �
polynomial� polyutils� mapdomainr r )�dom1�dom2r �ress r �test_polynomial_mapdomainr'