
    Bwg                        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j0                        j3                  ej4                         ej.                  dej0                        j3                  ej4                        d	h
       ed ej6                  ddgddgg       ej4                  ddg      j8                         ed ej4                  ddgddgg       ej4                  ddg      j8                        g      z  Ze ed ed ej4                  ddgddgg      d      g      z  Z G d de      Z G d dee      Z G d dee      Z G d dee      Z  G d dee      Z! G d dee      Z" G d d ee      Z# G d! d"ee      Z$ G d# d$ee      Z% G d% d&ee      Z& G d' d(e	      Z' G d) d*e'e
      Z( G d+ d,e'e      Z) G d- d.e'e      Z* G d/ d0e      Z+y)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                       e Zd ZeZy)MatrixTestCaseN)__name__
__module____qualname__CASES
TEST_CASES     _/var/www/horilla/myenv/lib/python3.12/site-packages/numpy/matrixlib/tests/test_matrix_linalg.pyr   r   $   s    Jr%   r   c                       e Zd Zy)TestSolveMatrixNr   r    r!   r$   r%   r&   r(   r(   (       r%   r(   c                       e Zd Zy)TestInvMatrixNr)   r$   r%   r&   r,   r,   ,   r*   r%   r,   c                       e Zd Zy)TestEigvalsMatrixNr)   r$   r%   r&   r.   r.   0   r*   r%   r.   c                       e Zd Zy)TestEigMatrixNr)   r$   r%   r&   r0   r0   4   r*   r%   r0   c                       e Zd Zy)TestSVDMatrixNr)   r$   r%   r&   r2   r2   8   r*   r%   r2   c                       e Zd Zy)TestCondMatrixNr)   r$   r%   r&   r4   r4   <   r*   r%   r4   c                       e Zd Zy)TestPinvMatrixNr)   r$   r%   r&   r6   r6   @   r*   r%   r6   c                       e Zd Zy)TestDetMatrixNr)   r$   r%   r&   r8   r8   D   r*   r%   r8   c                       e Zd Zy)TestLstsqMatrixNr)   r$   r%   r&   r:   r:   H   r*   r%   r:   c                   $    e Zd Zej                  Zy)_TestNorm2DMatrixNr   r    r!   npmatrixarrayr$   r%   r&   r<   r<   L       IIEr%   r<   c                       e Zd Zy)TestNormDoubleMatrixNr)   r$   r%   r&   rC   rC   P   r*   r%   rC   c                       e Zd Zy)TestNormSingleMatrixNr)   r$   r%   r&   rE   rE   T   r*   r%   rE   c                       e Zd Zy)TestNormInt64MatrixNr)   r$   r%   r&   rG   rG   X   r*   r%   rG   c                   $    e Zd Zej                  Zy)TestQRMatrixNr=   r$   r%   r&   rI   rI   \   rA   r%   rI   ),__doc__numpyr>   numpy.linalg.tests.test_linalgr   r   r   _TestQRr   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r"   emptydoubleviewr?   r@   Tr   r(   r,   r.   r0   r2   r4   r6   r8   r:   r<   rC   rE   rG   rI   r$   r%   r&   <module>rR      s.   ? % % % % % 	 8|rxxbii055bii@rxxbii055bii@J  rxx"bB8,-ryy"b"$$& ryy2r(RH-.ryy"b"$$& 
  ; ryy2r(RH-.! 
 ^ 	j. 		Hn 		n 		Hn 		Hn 		Y 		Y 		Hn 		j. 	 	,.A 		,.A 		+-? 	7 r%   