관리-도구
편집 파일: test_defmatrix.cpython-37.pyc
B ��Fdy: � @ s d dl mZmZmZ d dlZd dlZd dlmZmZm Z d dl mZmZm Z mZmZmZmZmZ d dlmZ d dlmZ G dd� de�ZG d d � d e�ZG dd� de�ZG d d� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�Ze dk�re� dS )� )�division�absolute_import�print_functionN)�matrix�asmatrix�bmat)�TestCase�run_module_suite�assert_�assert_equal�assert_almost_equal�assert_array_equal�assert_array_almost_equal� assert_raises)�matrix_power)�matc @ s$ e Zd Zdd� Zdd� Zdd� ZdS )�TestCtorc C s t �ddgddgg�}t|�}tt �|j|k�� td�}t||g||gg�}t �ddddgddddgddddgddddgg�}tt �|j|k�� tt �|j|k�� t �ddgdd gg�}tddddgdddd gg�}tt �t||g�|k�� t �d�}t|�} t| jd k� d S )N� � � � zA,A;A,A� � � � )r r ) �np�arrayr r �all�Ar �arange�shape) �selfr �mA�B�C�D�EZAEresult�vec�mvec� r) ��/builddir/build/BUILDROOT/alt-python37-numpy-1.13.3-8.el8.x86_64/opt/alt/python37/lib64/python3.7/site-packages/numpy/matrixlib/tests/test_defmatrix.py� test_basic s"