
    \hG                         S r  " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S	 S
\5      r " S S\5      r " S S\5      r " S S\5      r	 " S S\	5      r
 " S S\5      r/ SQrg)a)  

Module to define exceptions to be used in sympy.polys.matrices modules and
classes.

Ideally all exceptions raised in these modules would be defined and documented
here and not e.g. imported from matrices. Also ideally generic exceptions like
ValueError/TypeError would not be raised anywhere.

c                       \ rS rSrSrSrg)DMError   z,Base class for errors raised by DomainMatrix N__name__
__module____qualname____firstlineno____doc____static_attributes__r       W/var/www/auris/envauris/lib/python3.13/site-packages/sympy/polys/matrices/exceptions.pyr   r      s    6r   r   c                       \ rS rSrSrSrg)DMBadInputError   z(list of lists is inconsistent with shaper   Nr   r   r   r   r   r      s    2r   r   c                       \ rS rSrSrSrg)DMDomainError   zdomains do not matchr   Nr   r   r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)DMNotAField   zdomain is not a fieldr   Nr   r   r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)DMFormatError!   z mixed dense/sparse not supportedr   Nr   r   r   r   r   r   !   s    *r   r   c                       \ rS rSrSrSrg)DMNonInvertibleMatrixError&   zThe matrix in not invertibler   Nr   r   r   r   r   r   &   s    &r   r   c                       \ rS rSrSrSrg)DMRankError+   z"matrix does not have expected rankr   Nr   r   r   r   r   r   +   s    ,r   r   c                       \ rS rSrSrSrg)DMShapeError0   zshapes are inconsistentr   Nr   r   r   r   r"   r"   0   s    !r   r"   c                       \ rS rSrSrSrg)DMNonSquareMatrixError5   zThe matrix is not squarer   Nr   r   r   r   r%   r%   5   s    "r   r%   c                       \ rS rSrSrSrg)DMValueError:   zThe value passed is invalidr   Nr   r   r   r   r(   r(   :   s    %r   r(   )
r   r   r   r   r   r"   r   r   r%   r(   N)r   	Exceptionr   r   r   r   r   r   r   r"   r%   r(   __all__r   r   r   <module>r,      s   		i 	
	g 	
	G 	
	- 	
	G 	
	 	
	' 	
	7 	
	\ 	
	7 	
r   