
    m[he                        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 ddl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 d0 d1e      Z+y)2z9 Test functions for linalg module using the matrix class.    N)	CondCasesDetCasesEigCasesEigvalsCasesInvCases
LinalgCaseLinalgTestCase
LstsqCases	PinvCases
SolveCasesSVDCases_TestNorm2D_TestNormDoubleBase_TestNormInt64Base_TestNormSingleBase	apply_tag)TestQR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     t/var/www/html/p-interativo-gestao-midia/env/lib/python3.12/site-packages/numpy/matrixlib/tests/test_matrix_linalg.pyr   r   0   s    Jr%   r   c                       e Zd Zy)TestSolveMatrixNr   r    r!   r$   r%   r&   r(   r(   4       r%   r(   c                       e Zd Zy)TestInvMatrixNr)   r$   r%   r&   r,   r,   8   r*   r%   r,   c                       e Zd Zy)TestEigvalsMatrixNr)   r$   r%   r&   r.   r.   <   r*   r%   r.   c                       e Zd Zy)TestEigMatrixNr)   r$   r%   r&   r0   r0   @   r*   r%   r0   c                       e Zd Zy)TestSVDMatrixNr)   r$   r%   r&   r2   r2   D   r*   r%   r2   c                       e Zd Zy)TestCondMatrixNr)   r$   r%   r&   r4   r4   H   r*   r%   r4   c                       e Zd Zy)TestPinvMatrixNr)   r$   r%   r&   r6   r6   L   r*   r%   r6   c                       e Zd Zy)TestDetMatrixNr)   r$   r%   r&   r8   r8   P   r*   r%   r8   c                       e Zd Zy)TestLstsqMatrixNr)   r$   r%   r&   r:   r:   T   r*   r%   r:   c                   $    e Zd Zej                  Zy)_TestNorm2DMatrixNr   r    r!   npmatrixarrayr$   r%   r&   r<   r<   X       IIEr%   r<   c                       e Zd Zy)TestNormDoubleMatrixNr)   r$   r%   r&   rC   rC   \   r*   r%   rC   c                       e Zd Zy)TestNormSingleMatrixNr)   r$   r%   r&   rE   rE   `   r*   r%   rE   c                       e Zd Zy)TestNormInt64MatrixNr)   r$   r%   r&   rG   rG   d   r*   r%   rG   c                   $    e Zd Zej                  Zy)TestQRMatrixNr=   r$   r%   r&   rI   rI   h   rA   r%   rI   ),__doc__numpyr>   numpy.linalg.tests.test_linalgr   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   _TestQRr"   emptydoubleviewr?   r@   Tr   r(   r,   r.   r0   r2   r4   r6   r8   r:   r<   rC   rE   rG   rI   r$   r%   r&   <module>rR      s1   ?     $ =
 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%   