관리-도구
편집 파일: test_numeric.cpython-311.pyc
� �܋f� � �: � d dl Zd dlmZ G d� d� � Zd� ZdS )� N)�assert_equalc � � e Zd Zd� ZdS )�TestDotc � � t j t j dt �� � � � }t |dz |� � d S )N)� r )�dtypeg �?)�np�matrix�ones�complexr )�self�b1s �u/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/matrixlib/tests/test_numeric.py�test_matscalarzTestDot.test_matscalar s: � � �Y�r�w�v�W�5�5�5� 6� 6���R��V�R� � � � � � N)�__name__� __module__�__qualname__r � r r r r s# � � � � � �!� !� !� !� !r r c �` � t j ddgddgg� � } t j ddgg� � }t j ddg� � }t | � � � |� � t t j | � � |� � t t j | � � |� � d S )N� � r � )r r �arrayr �diagonal�diag)r �diag_b1�array_b1s r � test_diagonalr s� � � ��Q�q�E�1�Q�%�=� !� !�B��i�!�Q���!�!�G��x��A����H��������(�(�(����R���(�+�+�+�������h�'�'�'�'�'r )�numpyr � numpy.testingr r r r r r �<module>r"