a
    Lf                     @   s(  d Z ddlZddlmZmZmZmZm	Z	m
Z
mZmZmZmZmZmZmZmZmZmZmZ g Zeededejdejdejejdejdejd	hd
ededdgddggeddgjededdgddggeddgjg7 Zeedededdgddggdg7 ZG dd deZG dd deeZG dd deeZG dd deeZ G dd deeZ!G dd deeZ"G dd  d eeZ#G d!d" d"eeZ$G d#d$ d$eeZ%G d%d& d&eeZ&G d'd( d(e	Z'G d)d* d*e'e
Z(G d+d, d,e'eZ)G d-d. d.e'eZ*G d/d0 d0eZ+dS )1z9 Test functions for linalg module using the matrix class.    N)
LinalgCase	apply_tagTestQRLinalgTestCase_TestNorm2D_TestNormDoubleBase_TestNormSingleBase_TestNormInt64Base
SolveCasesInvCasesEigvalsCasesEigCasesSVDCases	CondCases	PinvCasesDetCases
LstsqCasesZsquareZ
0x0_matrix)r   r   )Zdtype)r      zsize-0)tagsZmatrix_b_onlyg      ?g       @g      @g      @Zmatrix_a_and_bZ	hermitianZhmatrix_a_and_bc                   @   s   e Zd ZeZdS )MatrixTestCaseN)__name__
__module____qualname__CASESZ
TEST_CASES r   r   a/var/www/ai-form-bot/venv/lib/python3.9/site-packages/numpy/matrixlib/tests/test_matrix_linalg.pyr   $   s   r   c                   @   s   e Zd ZdS )TestSolveMatrixNr   r   r   r   r   r   r   r   (   s   r   c                   @   s   e Zd ZdS )TestInvMatrixNr   r   r   r   r   r   ,   s   r   c                   @   s   e Zd ZdS )TestEigvalsMatrixNr   r   r   r   r   r   0   s   r   c                   @   s   e Zd ZdS )TestEigMatrixNr   r   r   r   r   r    4   s   r    c                   @   s   e Zd ZdS )TestSVDMatrixNr   r   r   r   r   r!   8   s   r!   c                   @   s   e Zd ZdS )TestCondMatrixNr   r   r   r   r   r"   <   s   r"   c                   @   s   e Zd ZdS )TestPinvMatrixNr   r   r   r   r   r#   @   s   r#   c                   @   s   e Zd ZdS )TestDetMatrixNr   r   r   r   r   r$   D   s   r$   c                   @   s   e Zd ZdS )TestLstsqMatrixNr   r   r   r   r   r%   H   s   r%   c                   @   s   e Zd ZejZdS )_TestNorm2DMatrixNr   r   r   npmatrixarrayr   r   r   r   r&   L   s   r&   c                   @   s   e Zd ZdS )TestNormDoubleMatrixNr   r   r   r   r   r+   P   s   r+   c                   @   s   e Zd ZdS )TestNormSingleMatrixNr   r   r   r   r   r,   T   s   r,   c                   @   s   e Zd ZdS )TestNormInt64MatrixNr   r   r   r   r   r-   X   s   r-   c                   @   s   e Zd ZejZdS )TestQRMatrixNr'   r   r   r   r   r.   \   s   r.   ),__doc__numpyr(   Znumpy.linalg.tests.test_linalgr   r   r   Z_TestQRr   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   emptydoubleviewr)   r*   Tr   r   r   r   r    r!   r"   r#   r$   r%   r&   r+   r,   r-   r.   r   r   r   r   <module>   sN   L