관리-도구
편집 파일: test_matlib.cpython-311.pyc
� �܋f< � �V � d dl Zd dlZ d dlmZmZ d� Zd� Zd� Zd� Z d� Z d� Zd � Zd � Z dS )� N)�assert_array_equal�assert_c � � t j � d� � } t t | t j � � � � t | j d� � d S )N)� )� r )�numpy�matlib�emptyr � isinstance�np�matrix�shape��xs �j/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/tests/test_matlib.py� test_emptyr sI � � ����4� � �A��J�q�"�)�$�$�%�%�%��A�G�V������ c � � t t j � d� � t j g d�g d�g� � � � t t j � d� � t j ddgg� � � � d S )N�r � )� �?r r r r )r r r �onesr r � r r � test_onesr s � ��u�|�(�(��0�0��y�/�/�/�!0���"2� 3� 3�4� 4� 4� �u�|�(�(��+�+�R�Y�"�r� �|�-D�-D�E�E�E�E�Er c � � t t j � d� � t j g d�g d�g� � � � t t j � d� � t j ddgg� � � � d S )Nr )� r r r r )r r r �zerosr r r r r � test_zerosr s � ��u�|�)�)�&�1�1��y�/�/�/�!0���"2� 3� 3�4� 4� 4� �u�|�)�)�!�,�,�b�i�2����.E�.E�F�F�F�F�Fr c � � t j � dt �� � } t | t j ddgddgg� � � � d S )Nr )�dtyper r )r r �identity�intr r r r s r � test_identityr# sI � � ����a�s��+�+�A��q�"�)�a��V�a��V�$4�5�5�6�6�6�6�6r c � � t j � ddt �� � } t | t j g d�g d�g d�g� � � � | j j sJ �| j j rJ �t j � ddt d� � � }t |t j g d �g d�g d�g� � � � |j j rJ �|j j sJ �d S ) Nr r )�kr )r r r )r r r )r r r � �F)r �order)r r r r )r r r r )r r r r ) r r �eyer"