o
    g                     @   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
LstsqCasessquare
0x0_matrix)r   r   )dtype)r      zsize-0)tagsmatrix_b_onlyg      ?g       @g      @g      @matrix_a_and_b	hermitianhmatrix_a_and_bc                   @   s   e Zd ZeZdS )MatrixTestCaseN)__name__
__module____qualname__CASES
TEST_CASES r"   r"   b/var/www/html/api-tag/env/lib/python3.10/site-packages/numpy/matrixlib/tests/test_matrix_linalg.pyr   $   s    r   c                   @      e Zd ZdS )TestSolveMatrixNr   r   r   r"   r"   r"   r#   r%   (       r%   c                   @   r$   )TestInvMatrixNr&   r"   r"   r"   r#   r(   ,   r'   r(   c                   @   r$   )TestEigvalsMatrixNr&   r"   r"   r"   r#   r)   0   r'   r)   c                   @   r$   )TestEigMatrixNr&   r"   r"   r"   r#   r*   4   r'   r*   c                   @   r$   )TestSVDMatrixNr&   r"   r"   r"   r#   r+   8   r'   r+   c                   @   r$   )TestCondMatrixNr&   r"   r"   r"   r#   r,   <   r'   r,   c                   @   r$   )TestPinvMatrixNr&   r"   r"   r"   r#   r-   @   r'   r-   c                   @   r$   )TestDetMatrixNr&   r"   r"   r"   r#   r.   D   r'   r.   c                   @   r$   )TestLstsqMatrixNr&   r"   r"   r"   r#   r/   H   r'   r/   c                   @      e Zd ZejZdS )_TestNorm2DMatrixNr   r   r   npmatrixarrayr"   r"   r"   r#   r1   L       
r1   c                   @   r$   )TestNormDoubleMatrixNr&   r"   r"   r"   r#   r7   P   r'   r7   c                   @   r$   )TestNormSingleMatrixNr&   r"   r"   r"   r#   r8   T   r'   r8   c                   @   r$   )TestNormInt64MatrixNr&   r"   r"   r"   r#   r9   X   r'   r9   c                   @   r0   )TestQRMatrixNr2   r"   r"   r"   r#   r:   \   r6   r:   ),__doc__numpyr3   numpy.linalg.tests.test_linalgr   r   r   _TestQRr   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r    emptydoubleviewr4   r5   Tr   r%   r(   r)   r*   r+   r,   r-   r.   r/   r1   r7   r8   r9   r:   r"   r"   r"   r#   <module>   sP    L