
    G/Ph                     @   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                                      ej                   ej        dej                                      ej                  d	h
           ed ej        ddgddgg           ej        ddg          j                   ed ej        ddgddgg           ej        ddg          j                  g          z  Ze ed ed ej        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+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                       e Zd ZeZdS )MatrixTestCaseN)__name__
__module____qualname__CASES
TEST_CASES     h/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/numpy/matrixlib/tests/test_matrix_linalg.pyr   r   $   s        JJJr%   r   c                       e Zd ZdS )TestSolveMatrixNr   r    r!   r$   r%   r&   r(   r(   (           Dr%   r(   c                       e Zd ZdS )TestInvMatrixNr)   r$   r%   r&   r,   r,   ,   r*   r%   r,   c                       e Zd ZdS )TestEigvalsMatrixNr)   r$   r%   r&   r.   r.   0   r*   r%   r.   c                       e Zd ZdS )TestEigMatrixNr)   r$   r%   r&   r0   r0   4   r*   r%   r0   c                       e Zd ZdS )TestSVDMatrixNr)   r$   r%   r&   r2   r2   8   r*   r%   r2   c                       e Zd ZdS )TestCondMatrixNr)   r$   r%   r&   r4   r4   <   r*   r%   r4   c                       e Zd ZdS )TestPinvMatrixNr)   r$   r%   r&   r6   r6   @   r*   r%   r6   c                       e Zd ZdS )TestDetMatrixNr)   r$   r%   r&   r8   r8   D   r*   r%   r8   c                       e Zd ZdS )TestLstsqMatrixNr)   r$   r%   r&   r:   r:   H   r*   r%   r:   c                       e Zd Zej        ZdS )_TestNorm2DMatrixNr   r    r!   npmatrixarrayr$   r%   r&   r<   r<   L           IEEEr%   r<   c                       e Zd ZdS )TestNormDoubleMatrixNr)   r$   r%   r&   rC   rC   P   r*   r%   rC   c                       e Zd ZdS )TestNormSingleMatrixNr)   r$   r%   r&   rE   rE   T   r*   r%   rE   c                       e Zd ZdS )TestNormInt64MatrixNr)   r$   r%   r&   rG   rG   X   r*   r%   rG   c                       e Zd Zej        ZdS )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J|rxbi00055bi@@rxbi00055bi@@J      Jrx"bB8,--ry"b""$& & Jry2r(RH-..ry"b""$& & 
 
  ;J ry2r(RH-.. ! 
 
     ^   	 	 	 	 	j. 	 	 		 	 	 	 	Hn 	 	 		 	 	 	 	n 	 	 		 	 	 	 	Hn 	 	 		 	 	 	 	Hn 	 	 		 	 	 	 	Y 	 	 		 	 	 	 	Y 	 	 		 	 	 	 	Hn 	 	 		 	 	 	 	j. 	 	 	       	 	 	 	 	,.A 	 	 		 	 	 	 	,.A 	 	 		 	 	 	 	+-? 	 	 	    7     r%   