o
    à8VaÐ  ã                   @   st   d Z ddlmZmZmZ G dd„ deƒZG dd„ deƒZG dd„ deƒZG d	d
„ d
eƒZ	G dd„ deƒZ
g d¢ZdS )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.

é    )ÚNonInvertibleMatrixErrorÚNonSquareMatrixErrorÚ
ShapeErrorc                   @   ó   e Zd ZdZdS )ÚDDMErrorz#Base class for errors raised by DDMN©Ú__name__Ú
__module__Ú__qualname__Ú__doc__© r   r   úA/usr/lib/python3/dist-packages/sympy/polys/matrices/exceptions.pyr      ó    r   c                   @   r   )ÚDDMBadInputErrorz(list of lists is inconsistent with shapeNr   r   r   r   r   r      r   r   c                   @   r   )ÚDDMDomainErrorzdomains do not matchNr   r   r   r   r   r      r   r   c                   @   r   )ÚDDMShapeErrorzshapes are inconsistentNr   r   r   r   r   r      r   r   c                   @   r   )ÚDDMFormatErrorz mixed dense/sparse not supportedNr   r   r   r   r   r   $   r   r   )r   r   r   r   r   r   r   N)r   Zsympy.matrices.commonr   r   r   Ú	Exceptionr   r   r   r   r   Ú__all__r   r   r   r   Ú<module>   s    